[Zope-dev] z3c.form and redirects
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Feb 23 09:50:51 EST 2010
On Tuesday 23 February 2010, Martin Aspeli wrote:
> Grok's forms do something like this:
>
> def __call__(self):
> self.update()
> if self.request.response.getStatus() not in (301, 302):
> return self.render()
> return u''
>
> Would it be an idea for z3c.form to do the same?
Yes. In fact several people I projects that I have seen do this already. I
would have no objections of adding this to the distribution, if someone checks
in a fix with a test.
Regards,
Stephan
--
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"
More information about the Zope-Dev
mailing list