[Repoze-dev] [bfg 1.29a] render_template_to_response returning the view class?

2010-01-02 Thread Andreas Jung
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Running the zopyx.smartprintng.server tests with Repoze 1.2a9: Calling the index() view no longer returns a response object with a status attribute:

Re: [Repoze-dev] [bfg 1.29a] render_template_to_response returning the view class?

2010-01-02 Thread Chris McDonough
I'm not sure which version of bfg you're contrasting this against, but if the view is a class, constructing the class just constructs the class. It's not until the class' __call__ is invoked that a response is potentially generated. If a previous BFG version worked differently, it was a bug.