Re: z3c.form and redirects
Stephan Richter <[email protected]>
| Newsgroups | gmane.comp.web.zope.devel |
|---|---|
| Message-ID | <[email protected]> |
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" _______________________________________________ Zope-Dev maillist - [email protected] https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )