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

Class PasswordResetForm

source code

          object --+    
                   |    
oldforms.Manipulator --+
                       |
                      PasswordResetForm

A form that lets a user request a password reset

Instance Methods [hide private]
 
__init__(self)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
isValidUserEmail(self, new_data, all_data)
Validates that a user exists with the given e-mail address
source code
 
save(self, domain_override=None, email_template_name='registration/password_reset_email.html')
Calculates a new password randomly and sends it to the user
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)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

save(self, domain_override=None, email_template_name='registration/password_reset_email.html')

source code 

Calculates a new password randomly and sends it to the user

Overrides: oldforms.Manipulator.save