Re: Contact module in Flask
- From:
- Nathan M
- Date:
- 2012-09-26 @ 07:54
You should have a look in the github wiki, there is a large app section
which will get you started with blueprints. Essentially, they are a mean to
structure your application : one for auth, one for user management, etc...
About the contact form, you would have to be very generic in your code, so
that it may adapt to whatever auth system and visual design are used. I
don't know if it worth the hassle, but it should be a good mean for you to
learn flask, so go for it!
On Sep 26, 2012 7:40 AM, "Bharadwaj" <barbi.bruce@gmail.com> wrote:
>
> Hi,
>
> I am currently building a flask app and I am rebuilding a component that
> is a part of most applications - A contact form.
>
> Will it be useful (and also feasible) to build an extension that helps in
> contact forms?
> Flask-Contact : contact form display, email messages, store messages
>
> Users will however want different fields and more importantly different
> storage engines. Ideas welcome.
>
> I never really understood the concept of Blueprint either. Is a blueprint
> a better approach for this problem?
>
> Thanks,
> Bharad
> http://bharad.net
>