Hi, If you want to help out, the following Flask projects need some help: - Flask-SQLAlchemy > Documentation needs proof-reading > Tests are missing :( - Flask-Fungiform (and Fungiform) > Documentation is missing > Tests are lacking In case you are interested, form them off on github and let the patches coming. If you have any questions feel free to ask me. I won't have the chance myself to work on the the next few days so I doubt there will be any conflicts :) Regards, Armin
What's fungiform about ? Not seen it announced anywhere. On 21 June 2010 12:46, Armin Ronacher <armin.ronacher@active-4.com> wrote: > Hi, > > If you want to help out, the following Flask projects need some help: > > - Flask-SQLAlchemy > > Documentation needs proof-reading > > Tests are missing :( > > - Flask-Fungiform (and Fungiform) > > Documentation is missing > > Tests are lacking > > In case you are interested, form them off on github and let the patches > coming. If you have any questions feel free to ask me. I won't have > the chance myself to work on the the next few days so I doubt there will > be any conflicts :) > > > Regards, > Armin >
Hi,
On 6/21/10 1:56 PM, Dan Jacob wrote:
> What's fungiform about ? Not seen it announced anywhere.
It's my Zine/Solace form handling system. Have not announced it
anywhere yet except on IRC :) It's work in progress.
Regards,
Armin
Do you have it on Git somewhere yet ? On 21 June 2010 13:32, Armin Ronacher <armin.ronacher@active-4.com> wrote: > Hi, > > On 6/21/10 1:56 PM, Dan Jacob wrote: >> What's fungiform about ? Not seen it announced anywhere. > It's my Zine/Solace form handling system. Have not announced it > anywhere yet except on IRC :) It's work in progress. > > > Regards, > Armin >
Hi,
On 6/21/10 2:34 PM, Dan Jacob wrote:
> Do you have it on Git somewhere yet ?
Yep, should have mentioned that.
http://github.com/mitsuhiko/fungiform
http://github.com/mitshuiko/flask-fungiform
Regards,
Armin
Hi, On 6/21/10 2:42 PM, Armin Ronacher wrote: > http://github.com/mitsuhiko/fungiform > http://github.com/mitshuiko/flask-fungiform Would be great if I could write my nickname: http://github.com/mitsuhiko/flask-fungiform Regards, Armin
Will it include CSRF validation by default ? On 21 June 2010 13:46, Armin Ronacher <armin.ronacher@active-4.com> wrote: > Hi, >e > On 6/21/10 2:42 PM, Armin Ronacher wrote: >> http://github.com/mitsuhiko/fungiform >> http://github.com/mitshuiko/flask-fungiform > Would be great if I could write my nickname: > > http://github.com/mitsuhiko/flask-fungiform > > > Regards, > Armin >
> Will it include CSRF validation by default ?
Fungiform does CSRF validation already.
Just looking through the fungiform source right now. Other than CSRF integration, how does it compare to WTForms (which comes recommended in the Flask docs) ? On 21 June 2010 14:51, DasIch <dasdasich@googlemail.com> wrote: >> Will it include CSRF validation by default ? > Fungiform does CSRF validation already. > >
Hi, On 6/21/10 3:57 PM, Dan Jacob wrote: > Other than CSRF integration, how does it compare to WTForms (which > comes recommended in the Flask docs) ? It has recaptcha support, supports validation of non-flat data, nested forms and elements and supports i18n. It's like the small brother of Flatland :) Regards, Armin
Also does it have an easy way to bind with objects ?
WTForms has this:
form = BlogPostForm(request.form, obj=post)
and:
if form.validate():
form.populate_obj(post)
Is there an equivalent in fungiform ?
On 21 June 2010 15:31, Armin Ronacher <armin.ronacher@active-4.com> wrote:
> Hi,
>
> On 6/21/10 3:57 PM, Dan Jacob wrote:
>> Other than CSRF integration, how does it compare to WTForms (which
>> comes recommended in the Flask docs) ?
> It has recaptcha support, supports validation of non-flat data, nested
> forms and elements and supports i18n. It's like the small brother of
> Flatland :)
>
>
> Regards,
> Armin
>
Just a minor suggestion, looking at the examples: The pattern looks a bit like Django form views, with the following line: if request.method == 'POST' and form.validate(): This always struck me as a bit un-DRY. Given that the form has a handle on the request, how about something like: if form.validate_on_POST(): instead ? On 21 June 2010 14:57, Dan Jacob <danjac354@gmail.com> wrote: > Just looking through the fungiform source right now. > > Other than CSRF integration, how does it compare to WTForms (which > comes recommended in the Flask docs) ? > > On 21 June 2010 14:51, DasIch <dasdasich@googlemail.com> wrote: >>> Will it include CSRF validation by default ? >> Fungiform does CSRF validation already. >> >> >
Hi, On 6/21/10 4:10 PM, Dan Jacob wrote: > The pattern looks a bit like Django form views, with the following line: > > if request.method == 'POST' and form.validate(): > > This always struck me as a bit un-DRY. Given that the form has a > handle on the request, how about something like: I would consider something like that. Regards, Armin