hawat.blueprints.auth_pwd.forms module

This module contains custom developer login form for Hawat.

class hawat.blueprints.auth_pwd.forms.RegisterUserAccountForm(*args, **kwargs)[source]

Bases: hawat.blueprints.users.forms.BaseUserAccountForm

Class representing classical account registration form.

justification = <UnboundField(TextAreaField, (l'Justification:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.Length object>]})>
login = <UnboundField(StringField, (l'Login:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.Length object>, <function check_login>, <function check_unique_login>]})>
memberships_wanted = <UnboundField(QuerySelectMultipleField, (l'Requested group memberships:',), {'query_factory': <function get_available_groups>})>
password = <UnboundField(PasswordField, (l'Password:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.Length object>]})>
password2 = <UnboundField(PasswordField, (l'Repeat Password:',), {'validators': [<wtforms.validators.DataRequired object>, <wtforms.validators.EqualTo object>]})>