cc1  v2.1
CC1 source code docs
 All Classes Namespaces Files Functions Variables Pages
src.wi.utils.forms.PasswordForm Class Reference

Class for setting password form. More...

Public Member Functions

def clean
 Checks if given passwords match.

Static Public Attributes

tuple new_password
tuple password2

Detailed Description

Class for setting password form.

Definition at line 72 of file forms.py.

Member Function Documentation

def src.wi.utils.forms.PasswordForm.clean (   self)

Checks if given passwords match.

Definition at line 89 of file forms.py.

Member Data Documentation

tuple src.wi.utils.forms.PasswordForm.new_password
static
Initial value:
forms.RegexField(regex=regexp['password'],
max_length=255,
widget=forms.PasswordInput(attrs=dict(attrs_dict)),
label=_("Password"),
error_messages={'invalid': regexp_text['password']})

Definition at line 73 of file forms.py.

tuple src.wi.utils.forms.PasswordForm.password2
static
Initial value:
forms.RegexField(regex=regexp['password'],
max_length=255,
widget=forms.PasswordInput(attrs=dict(attrs_dict)),
label=_("Password confirmation"),
error_messages={'invalid': regexp_text['password']})

Definition at line 79 of file forms.py.


The documentation for this class was generated from the following file: