Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Dict decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad SubscriptLoad Call AttributeLoad AttributeLoad NameLoad attr attr Index Num attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str attr Num Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list decorator_list
N/A django.test TestCase django.http HttpRequest referral.middleware ReferrerMiddleware referral.models Referrer referral settings ReferrerMiddlewareTest N/A TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self ref_middleware N/A ReferrerMiddleware N/A N/A self request N/A HttpRequest N/A N/A N/A self request session N/A N/A test_process_request_no_ref N/A N/A self N/A N/A N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Referrer objects all count 0 N/A test_process_request_new_ref N/A N/A self N/A N/A N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER new_ref N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Referrer objects all N/A 0 name new_ref N/A test_process_request_new_ref_no_autocreate N/A N/A self N/A N/A N/A N/A settings AUTO_CREATE False N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER new_ref N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A Referrer objects count 0 N/A N/A settings AUTO_CREATE True N/A test_referral_case_sensitive N/A N/A self N/A N/A N/A N/A settings CASE_SENSITIVE True N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER new_ref N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A Referrer objects count 1 N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER NEW_REF N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A Referrer objects count 2 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Referrer objects filter name new_ref count 1 N/A N/A N/A self assertEqual N/A N/A N/A N/A N/A Referrer objects filter name NEW_REF count 1 N/A N/A settings CASE_SENSITIVE False N/A test_referral_case_insensitive N/A N/A self N/A N/A N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER new_ref N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A Referrer objects count 1 N/A N/A N/A N/A self request GET N/A N/A settings GET_PARAMETER NEW_REF N/A N/A N/A N/A self ref_middleware process_request N/A self request N/A N/A N/A self assertEqual N/A N/A N/A Referrer objects count 1 N/A N/A