Account Forms¶
-
class
account.forms.ProfileChangeForm¶ A form for changing a user’s name.
-
class
Meta¶ The Meta class creates form fields from model fields. In this case the model being used is
User, and the user’sfirst_nameandlast_namefields are being used.-
fields= ('first_name', 'last_name')¶ Fields used.
-
model¶ alias of
account.models.User
-
-
class
-
class
account.forms.UserCreationForm¶ A form for creating new users with the given information.
-
class
Meta¶ The Meta class creates form fields from model fields. In this case the model being used is
User, and the user’semailfield is being used.-
fields= ('email',)¶ Fields used.
-
model¶ alias of
account.models.User
-
-
clean_group_code()¶ Checks that the entered group code matches a group
-
clean_password2()¶ A function to check that the two passwords provided by the user match.
-
email= None¶ Email associated with the user. Users are identified by this email address. [Jflag repet w/ meta?]
-
save(commit=True)¶ Save this form’s self.instance object if commit=True. Otherwise, add a save_m2m() method to the form which can be called after the instance is saved manually at a later time. Return the model instance.
-
class
-
class
account.forms.UserLoginForm¶ A form for user login using aws credentials.
-
class
Meta¶ The Meta class creates form fields from model fields. In this case the model being used is
IAM, and the user’saws_access_keyandaws_secret_access_keyfields are being used.-
fields= ('email', 'password')¶ Fields used.
-
model¶ alias of
account.models.User
-
-
email= None¶ AWS access key. [Jflag repet w/ meta?]
-
password= None¶ AWS secret access key. [Jflag repet w/ meta?]
-
class
-
account.forms¶ alias of
account.forms