Module Expr Str ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias Import alias FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num orelse Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If BoolOpOr UnaryOpNot Call NameLoad NameLoad Str UnaryOpNot AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr ListLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareIn NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body If CompareIn Str AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr If CompareEq Call NameLoad NameLoad Num body If CompareEq Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign TupleStore NameStore NameStore Call AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num attr Str Assign NameStore Call NameLoad keyword NameLoad keyword NameLoad If CompareIsNot NameLoad NameLoad body If AttributeLoad NameLoad attr body Return Call NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad Str keyword Num Assign SubscriptStore NameLoad Index Str Str Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args defaults body Pass decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
decorators.py

 django.contrib.auth authenticate django.http HttpResponse HttpResponseForbidden django.conf settings sikteeri.iptools IpRangeList N/A base64 get_client_ip N/A N/A request N/A N/A N/A x_forwarded_for N/A N/A N/A request META get HTTP_X_FORWARDED_FOR N/A x_forwarded_for N/A N/A ip N/A N/A N/A x_forwarded_for split , N/A 0 N/A N/A ip N/A N/A N/A request META get REMOTE_ADDR N/A ip N/A trusted_host_required N/A N/A view_func N/A N/A N/A  decorator which checks remote address  decorator N/A N/A request N/A args kwargs N/A N/A N/A N/A N/A hasattr settings TRUSTED_HOSTS N/A N/A settings TRUSTED_HOSTS N/A N/A N/A settings TRUSTED_HOSTS N/A N/A ip N/A get_client_ip request N/A allowed N/A IpRangeList N/A settings TRUSTED_HOSTS N/A N/A ip allowed N/A N/A N/A view_func request args kwargs N/A response N/A HttpResponseForbidden Access denied N/A response N/A N/A decorator N/A basic_auth_required N/A N/A view_func N/A N/A N/A  decorator which performs basic http token authentication  _auth N/A N/A request N/A args kwargs N/A N/A N/A HTTP_AUTHORIZATION N/A request META N/A N/A auth N/A N/A N/A N/A request META N/A HTTP_AUTHORIZATION split N/A N/A N/A len auth 2 N/A N/A N/A N/A N/A N/A auth N/A 0 lower basic N/A N/A N/A uname passwd N/A N/A N/A N/A base64 b64decode N/A auth N/A 1 split : N/A user N/A authenticate username uname password passwd N/A N/A user None N/A N/A N/A user is_active N/A N/A N/A view_func request args kwargs N/A response N/A HttpResponse Authorization Required status 401 N/A N/A response N/A WWW-Authenticate Basic realm="Secure Area" N/A response N/A N/A _auth N/A main N/A N/A N/A N/A N/A N/A N/A N/A __name__ __main__ N/A N/A N/A main