Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad If Call NameLoad NameLoad Str body If UnaryOpNot BoolOpOr CompareEq AttributeLoad NameLoad attr Str CompareIn Str AttributeLoad NameLoad attr body Raise Call NameLoad Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body If CompareIs NameLoad NameLoad body If BoolOpOr CompareNotIn Str NameLoad CompareIs SubscriptLoad NameLoad Index Str NameLoad body Return NameLoad Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str orelse Assign NameStore Call NameLoad NameLoad If CompareNotIn Str NameLoad body Return NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad Assign NameStore ListComp NameLoad comprehension NameStore NameLoad Call AttributeLoad NameLoad attr NameLoad If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse If CompareGt Call NameLoad NameLoad Num body Raise Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr decorator_list decorator_list
N/A N/A warnings django.contrib.auth.backends ModelBackend django.core.exceptions ImproperlyConfigured oscar.apps.customer.utils normalise_email oscar.core.compat get_user_model N/A User N/A get_user_model N/A N/A hasattr User REQUIRED_FIELDS N/A N/A N/A N/A N/A N/A User USERNAME_FIELD email N/A email N/A User REQUIRED_FIELDS N/A N/A N/A ImproperlyConfigured EmailBackend: Your User model must have an email field with blank=False EmailBackend N/A ModelBackend N/A N/A 
    Custom auth backend that uses an email address and password

    For this to work, the User model must have an 'email' field
     authenticate N/A N/A self email password N/A None None args kwargs N/A N/A N/A email None N/A N/A N/A N/A username kwargs N/A N/A kwargs N/A username None N/A N/A None N/A clean_email N/A normalise_email N/A kwargs N/A username N/A N/A clean_email N/A normalise_email email N/A N/A @ clean_email N/A N/A None N/A matching_users N/A N/A N/A User objects filter email__iexact clean_email N/A authenticated_users N/A user N/A user matching_users N/A N/A user check_password password N/A N/A N/A len authenticated_users 1 N/A N/A N/A authenticated_users N/A 0 N/A N/A N/A N/A len authenticated_users 1 N/A N/A N/A N/A User MultipleObjectsReturned There are multiple users with the given email address and password N/A None N/A N/A Emailbackend N/A EmailBackend N/A __init__ N/A N/A self N/A N/A N/A N/A N/A warnings warn Oscar's auth backend EmailBackend has been renamed in Oscar 1.0  and you're using the old name of Emailbackend. Please rename  all references; most likely in the AUTH_BACKENDS setting. DeprecationWarning N/A N/A N/A N/A super Emailbackend self __init__ N/A N/A