Module ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body FunctionDef arguments args NameParam defaults body Return Call NameLoad NameLoad Dict Dict ListLoad Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num Assign NameStore Call NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Import alias If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Return If UnaryOpNot Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BinOpBitOr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str If CompareLt Call NameLoad AttributeLoad NameLoad attr Num body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr BinOpAdd Str IfExp NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad Return NameLoad decorator_list Return NameLoad decorator_list
N/A django.conf settings N/A os N/A sys N/A logging django_extensions.management.signals pre_command post_command N/A N/A importlib import_module N/A N/A N/A ImportError N/A N/A N/A django.utils.importlib import_module N/A N/A N/A ImportError N/A import_module N/A N/A module N/A N/A N/A N/A __import__ module N/A N/A N/A N/A get_project_root N/A N/A N/A N/A N/A  get the project root directory  N/A django_settings_module N/A N/A N/A os environ get DJANGO_SETTINGS_MODULE N/A N/A django_settings_module N/A N/A module_str N/A settings SETTINGS_MODULE N/A N/A module_str N/A N/A N/A django_settings_module split . N/A 0 N/A mod N/A import_module module_str N/A N/A N/A N/A os path dirname N/A N/A N/A os path abspath N/A mod __file__ N/A _make_writeable N/A N/A filename N/A N/A N/A 
    Make sure that the file is writeable. Useful if our source is
    read-only.

     N/A stat N/A N/A N/A N/A sys platform startswith java N/A N/A N/A N/A N/A N/A os access filename N/A os W_OK N/A N/A st N/A N/A os stat filename N/A new_permissions N/A N/A N/A stat S_IMODE N/A st st_mode N/A stat S_IWUSR N/A N/A N/A os chmod filename new_permissions N/A setup_logger N/A N/A logger stream filename fmt N/A None None N/A N/A Sets up a logger (if no handlers exist) for console output,
    and file 'tee' output if desired. N/A N/A N/A len N/A logger handlers 1 N/A N/A console N/A N/A logging StreamHandler stream N/A N/A N/A console setLevel N/A logging DEBUG N/A N/A N/A console setFormatter N/A N/A logging Formatter fmt N/A N/A N/A logger addHandler console N/A N/A N/A logger setLevel N/A logging DEBUG N/A filename N/A N/A outfile N/A N/A logging FileHandler filename N/A N/A N/A outfile setLevel N/A logging INFO N/A N/A N/A outfile setFormatter N/A N/A logging Formatter N/A %(asctime)s  N/A fmt fmt %(message)s N/A N/A N/A logger addHandler outfile N/A RedirectHandler N/A N/A logging Handler N/A N/A Redirect logging sent to one logger (name) to another. __init__ N/A N/A self name level N/A N/A logging DEBUG N/A N/A N/A N/A N/A logging Handler __init__ self level N/A N/A self name name N/A N/A self logger N/A N/A logging getLogger name N/A emit N/A N/A self record N/A N/A N/A N/A N/A N/A self logger handle record N/A N/A signalcommand N/A N/A func N/A N/A N/A A decorator for management command handle defs that sends out a pre/post signal. inner N/A N/A self N/A args kwargs N/A N/A N/A N/A pre_command send N/A self __class__ args args kwargs kwargs N/A ret N/A func self args kwargs N/A N/A N/A post_command send N/A self __class__ args args kwargs kwargs outcome ret N/A ret N/A N/A inner N/A