Previous topic

base.context_processors module

Next topic

base.models module

This Page

base.forms module

The most common forms for the whole project.

copyright:(c) 2012 by Roman Semirook.
license:BSD, see LICENSE for more details.
class base.forms.LoginForm(formdata=<class flask_wtf.form._Auto at 0x42b5ef0>, obj=None, prefix='', csrf_context=None, secret_key=None, csrf_enabled=None, *args, **kwargs)[source]

Bases: flask_wtf.form.Form

A simple login form with email and password

email = <UnboundField(StringField, ('Login',), {'validators': [<wtforms.validators.DataRequired object at 0x42a80d0>, <wtforms.validators.Email object at 0x4336a10>]})>
password = <UnboundField(PasswordField, ('Password',), {'validators': [<wtforms.validators.DataRequired object at 0x4336a90>]})>