Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Dict Str Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Str keyword Dict Str Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Num keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad Raise Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad Raise Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad NameLoad CompareNotEq NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword NameLoad keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str ClassDef bases body Assign NameStore NameLoad Assign NameStore TupleLoad Str Str Str decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr keyword Str keyword Call AttributeLoad NameLoad attr keyword Dict Str Str FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad NameLoad body If CompareNotEq NameLoad NameLoad body Raise Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str If NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A 
********************************************************************************
* Name: forms.py
* Author: Nathan Swain
* Created On: 2014
* Copyright: (c) Brigham Young University 2014
* License: BSD 2-Clause
********************************************************************************
 django forms django.contrib.auth.models User LoginForm N/A N/A forms Form N/A N/A username N/A N/A forms RegexField label max_length 30 regex ^[\w.@+-]+$ error_messages N/A invalid This value may contain only letters, numbers and @/./+/-/_ characters. widget N/A N/A forms TextInput attrs N/A placeholder autofocus Username autofocus N/A password N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder Password N/A RegisterForm N/A N/A forms ModelForm N/A N/A 
    A form that creates a user, with no privileges, from the given username and
    password.
     N/A error_messages N/A duplicate_username password_mismatch duplicate_email A user with that username already exists. The two password fields didn't match. A user with this email already exists. N/A username N/A N/A forms RegexField label max_length 30 regex ^[\w.@+-]+$ error_messages N/A invalid This value may contain only letters, numbers and @/./+/-/_ characters. widget N/A N/A forms TextInput attrs N/A placeholder autofocus Username autofocus N/A email N/A N/A forms CharField label max_length 30 widget N/A N/A forms EmailInput attrs N/A placeholder Email N/A password1 N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder Password N/A password2 N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder Confirm Password Meta N/A N/A N/A model User N/A fields N/A username email N/A clean_username N/A N/A self N/A N/A N/A username N/A N/A self cleaned_data N/A username N/A N/A N/A N/A N/A N/A User _default_manager get username username N/A N/A N/A N/A User DoesNotExist N/A N/A username N/A N/A N/A forms ValidationError N/A N/A self error_messages N/A duplicate_username code duplicate_username N/A clean_email N/A N/A self N/A N/A N/A email N/A N/A self cleaned_data N/A email N/A N/A N/A N/A N/A N/A User _default_manager get email email N/A N/A N/A N/A User DoesNotExist N/A N/A email N/A N/A N/A forms ValidationError N/A N/A self error_messages N/A duplicate_email code duplicate_email N/A clean_password2 N/A N/A self N/A N/A N/A password1 N/A N/A N/A self cleaned_data get password1 N/A password2 N/A N/A N/A self cleaned_data get password2 N/A N/A password1 password2 N/A password1 password2 N/A N/A N/A N/A forms ValidationError N/A N/A self error_messages N/A password_mismatch code password_mismatch N/A password2 N/A save N/A N/A self commit N/A True N/A N/A user N/A N/A N/A super RegisterForm self save commit False N/A N/A N/A user set_password N/A N/A self cleaned_data N/A password1 N/A commit N/A N/A N/A N/A user save N/A user N/A N/A UserSettingsForm N/A N/A forms ModelForm N/A N/A 
    A form for modifying user settings.
     N/A first_name N/A N/A forms CharField max_length 30 label required False widget N/A N/A forms TextInput attrs N/A placeholder class autofocus form-control autofocus N/A last_name N/A N/A forms CharField max_length 30 label required False widget N/A N/A forms TextInput attrs N/A placeholder class form-control N/A email N/A N/A forms EmailField max_length 30 label Email: widget N/A N/A forms EmailInput attrs N/A placeholder class form-control Meta N/A N/A N/A model User N/A fields N/A first_name last_name email N/A N/A UserPasswordChangeForm N/A N/A forms Form N/A N/A 
    A form that lets a user change their password by entering their old one.
     N/A error_messages N/A password_mismatch password_incorrect The two password fields didn't match. Your old password was entered incorrectly. Please enter it again. N/A old_password N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder autofocus Old Password autofocus N/A new_password1 N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder New Password N/A new_password2 N/A N/A forms CharField label widget N/A N/A forms PasswordInput attrs N/A placeholder Confirm New Password __init__ N/A N/A self user N/A args kwargs N/A N/A N/A self user user N/A N/A N/A N/A super UserPasswordChangeForm self __init__ args kwargs N/A clean_old_password N/A N/A self N/A N/A N/A 
        Validates that the old_password field is correct.
         N/A old_password N/A N/A self cleaned_data N/A old_password N/A N/A N/A N/A N/A self user check_password old_password N/A N/A N/A N/A forms ValidationError N/A N/A self error_messages N/A password_incorrect code password_incorrect N/A old_password N/A clean_new_password2 N/A N/A self N/A N/A N/A password1 N/A N/A N/A self cleaned_data get new_password1 N/A password2 N/A N/A N/A self cleaned_data get new_password2 N/A N/A password1 password2 N/A N/A N/A password1 password2 N/A N/A N/A N/A forms ValidationError N/A N/A self error_messages N/A password_mismatch code password_mismatch N/A password2 N/A save N/A N/A self commit N/A True N/A N/A N/A N/A N/A self user set_password N/A N/A self cleaned_data N/A new_password1 N/A commit N/A N/A N/A N/A N/A self user save N/A N/A self user N/A N/A