Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier Assign NameStore Call AttributeLoad NameLoad attr NameLoad ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword Dict Str Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword AttributeLoad NameLoad attr keyword Dict Str Call NameLoad Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad If Call NameLoad NameLoad Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr keyword Call NameLoad Str keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If BoolOpAnd NameLoad NameLoad body TryExcept body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad keyword NameLoad handlers ExceptHandler type NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr NameLoad If CompareIs AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr NameLoad orelse If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call NameLoad Str Raise Call AttributeLoad NameLoad attr NameLoad Return AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str attr Str Index Num If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Call NameLoad Str Return NameLoad decorator_list decorator_list
N/A N/A logging django forms django.conf settings django.contrib.auth authenticate django.utils.translation ugettext_lazy _ N/A logger N/A N/A logging getLogger __name__ LoginForm N/A N/A forms Form N/A N/A Standard username and password authentication form. N/A username N/A N/A forms CharField label N/A _ Username error_messages N/A required N/A _ Please enter your username N/A password N/A N/A forms CharField label N/A _ Password widget N/A forms PasswordInput error_messages N/A required N/A _ Please enter your password __init__ N/A N/A self N/A args kwargs N/A N/A N/A N/A N/A super LoginForm self __init__ args kwargs N/A N/A getattr settings MAMA_CAS_ALLOW_AUTH_WARN False N/A N/A N/A N/A self fields N/A warn N/A N/A forms BooleanField widget N/A N/A forms CheckboxInput label N/A _ Warn before automatic login to other services required False N/A clean N/A N/A self N/A N/A N/A 
        Pass the provided username and password to the active
        authentication backends and verify the user account is
        not disabled. If authentication succeeds, the ``User`` object
        is assigned to the form so it can be accessed in the view.
         N/A username N/A N/A N/A self cleaned_data get username N/A password N/A N/A N/A self cleaned_data get password N/A N/A username password N/A N/A N/A N/A N/A self user N/A authenticate username username password password N/A N/A N/A Exception N/A N/A N/A N/A logger exception N/A Error authenticating %s username N/A error_msg N/A _ Internal error while authenticating user N/A N/A N/A forms ValidationError error_msg N/A N/A N/A self user None N/A N/A N/A N/A logger warning N/A Failed authentication for %s username N/A error_msg N/A _ The username or password is not correct N/A N/A N/A forms ValidationError error_msg N/A N/A N/A N/A N/A self user is_active N/A N/A N/A N/A logger warning N/A User account %s is disabled username N/A error_msg N/A _ This user account is disabled N/A N/A N/A forms ValidationError error_msg N/A N/A self cleaned_data N/A N/A LoginFormEmail N/A LoginForm N/A N/A 
    Subclass of ``LoginForm`` that extracts the username if an email
    address is provided.
     clean_username N/A N/A self N/A N/A N/A 
        Remove an '@<domain>' suffix if present and return only
        the username.
         N/A username N/A N/A N/A N/A N/A N/A self cleaned_data get username split @ N/A 0 N/A N/A username N/A N/A N/A N/A forms ValidationError N/A _ Invalid username provided N/A username N/A N/A