Module Import alias Import alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Return SubscriptLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr keyword Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Expr Call NameLoad NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list Assign NameStore TupleLoad Str Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore NameLoad If Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Raise If BoolOpOr CompareIsNot NameLoad NameLoad CompareIsNot NameLoad NameLoad body If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore BoolOpOr NameLoad BoolOpOr BoolOpAnd NameLoad Call NameLoad AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign NameStore ListLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If UnaryOpNot AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr orelse If CompareIn Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr If NameLoad body Expr ListComp Call AttributeLoad NameLoad attr BinOpAdd NameLoad Str comprehension NameStore NameLoad Raise Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore NameLoad attr Call NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad NameLoad decorator_list
N/A N/A base64 N/A hashlib N/A os N/A re N/A sys django.contrib.auth.models User django.db IntegrityError _email_to_username N/A N/A email N/A N/A N/A email N/A N/A email lower N/A converted N/A N/A email encode utf8 ignore N/A N/A N/A N/A base64 urlsafe_b64encode N/A N/A N/A N/A hashlib sha256 converted digest N/A 30 N/A get_user N/A N/A email queryset N/A None N/A N/A 
    Return the user with given email address.
    Note that email address matches are case-insensitive.
     N/A N/A queryset None N/A N/A queryset N/A User objects N/A N/A N/A queryset get username N/A _email_to_username email N/A user_exists N/A N/A email queryset N/A None N/A N/A 
    Return True if a user with given email address exists.
    Note that email address matches are case-insensitive.
     N/A N/A N/A N/A get_user email queryset N/A N/A N/A N/A User DoesNotExist N/A N/A False N/A True N/A N/A _DUPLICATE_USERNAME_ERRORS N/A column username is not unique duplicate key value violates unique constraint "auth_user_username_key"
 create_user N/A N/A email password is_staff is_active N/A None None None N/A N/A 
    Create a new user with the given email.
    Use this instead of `User.objects.create_user`.
     N/A N/A N/A user N/A N/A N/A User objects create_user email email password N/A N/A N/A IntegrityError N/A err N/A N/A regexp N/A N/A | join N/A N/A N/A re escape e N/A e _DUPLICATE_USERNAME_ERRORS N/A N/A N/A re match regexp N/A err message N/A N/A N/A IntegrityError user email is not unique N/A N/A N/A N/A is_active None N/A is_staff None N/A N/A N/A is_active None N/A N/A N/A user is_active is_active N/A N/A is_staff None N/A N/A N/A user is_staff is_staff N/A N/A N/A user save N/A user N/A create_superuser N/A N/A email password N/A N/A N/A 
    Create a new superuser with the given email.
    Use this instead of `User.objects.create_superuser`.
     N/A N/A N/A N/A User objects create_superuser email email password N/A migrate_usernames N/A N/A stream quiet N/A None False N/A N/A 
    Migrate all existing users to django-email-as-username hashed usernames.
    If any users cannot be migrated an exception will be raised and the
    migration will not run.
     N/A stream N/A stream N/A N/A quiet N/A open N/A os devnull w N/A sys stdout N/A emails N/A set N/A errors N/A N/A user N/A N/A N/A User objects all N/A N/A N/A N/A user email N/A N/A N/A N/A errors append N/A Cannot convert user '%s' because email is not set. N/A N/A user _username N/A N/A N/A N/A N/A N/A user email lower emails N/A N/A N/A N/A errors append N/A Cannot convert user '%s' because email '%s' already exists. N/A N/A user _username N/A user email N/A N/A N/A N/A emails add N/A N/A N/A user email lower N/A errors N/A N/A N/A N/A N/A stream write N/A error N/A error errors N/A N/A Exception django-email-as-username migration failed. N/A total N/A N/A N/A User objects count N/A user N/A N/A N/A User objects all N/A N/A N/A user username N/A _email_to_username N/A user email N/A N/A N/A user save N/A N/A N/A stream write N/A Successfully migrated usernames for all %d users
 N/A total N/A