class documentation

class SetPasswordForm(forms.Form):

Known subclasses: django.contrib.auth.forms.PasswordChangeForm

View In Hierarchy

A form that lets a user change set their password without entering the old password
Method __init__ Undocumented
Method clean​_new​_password2 Undocumented
Method save Undocumented
Class Variable error​_messages Undocumented
Class Variable new​_password1 Undocumented
Class Variable new​_password2 Undocumented
Instance Variable user Undocumented

Inherited from BaseForm (via Form):

Method __getitem__ Return a BoundField with the given name.
Method __iter__ Yield the form's fields as BoundField objects.
Method __repr__ Undocumented
Method ​_bound​_items Yield (name, bf) pairs, where bf is a BoundField object.
Method ​_clean​_fields Undocumented
Method ​_clean​_form Undocumented
Method ​_html​_output Output HTML. Used by as_table(), as_ul(), as_p().
Method ​_post​_clean An internal hook for performing additional cleaning after form cleaning is complete. Used for model validation in model forms.
Method ​_widget​_data​_value Undocumented
Method add​_error Update the content of self._errors.
Method add​_initial​_prefix Add an 'initial' prefix for checking dynamic initial values.
Method add​_prefix Return the field name with a prefix appended, if this Form has a prefix set.
Method clean No summary
Method full​_clean Clean all of self.data and populate self._errors and self.cleaned_data.
Method get​_context Undocumented
Method get​_initial​_for​_field Return initial data for field on form. Use initial data from the form or the field, in that order. Evaluate callable values.
Method has​_changed Return True if data differs from initial.
Method has​_error Undocumented
Method hidden​_fields Return a list of all the BoundField objects that are hidden fields. Useful for manual form layout in templates.
Method is​_multipart Return True if the form needs to be multipart-encoded, i.e. it has FileInput, or False otherwise.
Method is​_valid Return True if the form has no errors, or False otherwise.
Method non​_field​_errors Return an ErrorList of errors that aren't associated with a particular field -- i.e., from Form.clean(). Return an empty ErrorList if there are none.
Method order​_fields Rearrange the fields according to field_order.
Method visible​_fields Return a list of BoundField objects that aren't hidden fields. The opposite of the hidden_fields() method.
Class Variable default​_renderer Undocumented
Class Variable field​_order Undocumented
Class Variable template​_name Undocumented
Class Variable template​_name​_label Undocumented
Class Variable template​_name​_p Undocumented
Class Variable template​_name​_table Undocumented
Class Variable template​_name​_ul Undocumented
Instance Variable ​_bound​_fields​_cache Undocumented
Instance Variable ​_errors Undocumented
Instance Variable auto​_id Undocumented
Instance Variable cleaned​_data Undocumented
Instance Variable data Undocumented
Instance Variable empty​_permitted Undocumented
Instance Variable error​_class Undocumented
Instance Variable fields Undocumented
Instance Variable files Undocumented
Instance Variable initial Undocumented
Instance Variable is​_bound Undocumented
Instance Variable label​_suffix Undocumented
Instance Variable prefix Undocumented
Instance Variable renderer Undocumented
Instance Variable use​_required​_attribute Undocumented
Property changed​_data Undocumented
Property errors Return an ErrorDict for the data provided for the form.
Property media Return all media required to render the widgets on this form.

Inherited from RenderableFormMixin (via Form, BaseForm):

Method as​_p Render as <p> elements.
Method as​_table Render as <tr> elements excluding the surrounding <table> tag.
Method as​_ul Render as <li> elements excluding the surrounding <ul> tag.

Inherited from RenderableMixin (via Form, BaseForm, RenderableFormMixin):

Method render Undocumented
def __init__(self, user, *args, **kwargs):

Undocumented

def clean_new_password2(self):

Undocumented

def save(self, commit=True):

Undocumented

error_messages =
new_password1 =

Undocumented

new_password2 =

Undocumented

user =

Undocumented