Package django :: Package contrib :: Package auth :: Module forms :: Class PasswordChangeForm
[hide private]
[frames] | no frames]

Class PasswordChangeForm

source code

          object --+    
                   |    
oldforms.Manipulator --+
                       |
                      PasswordChangeForm

A form that lets a user change his password.

Instance Methods [hide private]
 
__init__(self, user)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
isValidOldPassword(self, new_data, all_data)
Validates that the old_password field is correct.
source code
 
save(self, new_data)
Saves the new password.
source code

Inherited from oldforms.Manipulator: __delitem__, __getitem__, check_permissions, do_html2python, get_validation_errors, prepare

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]

Inherited from oldforms.Manipulator: required_permission

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, user)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

save(self, new_data)

source code 

Saves the new password.

Overrides: oldforms.Manipulator.save