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

Class of the password edition (requires giving the previous one) form. More...

+ Inheritance diagram for src.wi.forms.user.PasswordChangeForm:

Public Member Functions

def __init__
def clean_old_password
 Validates that the old_password field is correct.
- Public Member Functions inherited from src.wi.forms.user.SetPasswordForm
def clean

Public Attributes

 user

Static Public Attributes

tuple old_password
- Static Public Attributes inherited from src.wi.forms.user.SetPasswordForm
tuple new_password1
tuple new_password2

Detailed Description

Class of the password edition (requires giving the previous one) form.

Definition at line 262 of file user.py.

Constructor & Destructor Documentation

def src.wi.forms.user.PasswordChangeForm.__init__ (   self,
  user,
  args,
  kwargs 
)

Definition at line 269 of file user.py.

Member Function Documentation

def src.wi.forms.user.PasswordChangeForm.clean_old_password (   self)

Validates that the old_password field is correct.

Definition at line 279 of file user.py.

Member Data Documentation

tuple src.wi.forms.user.PasswordChangeForm.old_password
static
Initial value:
forms.RegexField(regex=regexp['password'],
max_length=255,
widget=forms.PasswordInput,
label=_("Old password"),
error_messages={'invalid': regexp_text['password']})

Definition at line 263 of file user.py.

src.wi.forms.user.PasswordChangeForm.user

Definition at line 270 of file user.py.


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