Module ImportFrom alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier ImportFrom alias alias ImportFrom alias alias alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index Str Call AttributeLoad AttributeLoad NameLoad attr attr Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr UnaryOpNot NameLoad CompareIn Str NameLoad body Assign NameStore AttributeLoad NameLoad attr orelse If BoolOpAnd CompareIn Str NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Assign NameStore AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr If CompareEq AttributeLoad NameLoad attr Str body If CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Str body Assign NameStore Call AttributeLoad AttributeLoad Call NameLoad attr attr keyword SubscriptLoad AttributeLoad NameLoad attr Index Str Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad Expr Call NameLoad NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Return Call NameLoad NameLoad Dict Str NameLoad NameLoad NameLoad keyword Call NameLoad NameLoad decorator_list NameLoad NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Str NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore Call NameLoad keyword AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If Call NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Call NameLoad NameLoad orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Return Call NameLoad Str Dict NameLoad Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword Call NameLoad NameLoad orelse Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr orelse Assign NameStore Call Call NameLoad NameLoad Return Call NameLoad NameLoad Dict Str NameLoad Str Str NameLoad NameLoad NameLoad AttributeLoad NameLoad attr keyword Call NameLoad NameLoad decorator_list NameLoad NameLoad
N/A django.views.generic TemplateView N/A re django.conf settings django.contrib messages django.contrib.auth login auth_login django.contrib.auth REDIRECT_FIELD_NAME django.contrib.auth.forms AuthenticationForm django.contrib.sites.models Site django.http HttpResponseRedirect django.shortcuts render_to_response django.template RequestContext django.views.decorators.cache never_cache django.views.decorators.csrf csrf_protect django.utils.translation ugettext_lazy _ tos.compat get_runtime_user_model get_request_site tos.models has_user_agreed_latest_tos TermsOfService UserAgreement TosView N/A TemplateView N/A N/A template_name tos/tos.html get_context_data N/A N/A self N/A kwargs N/A N/A context N/A N/A N/A super TosView self get_context_data kwargs N/A N/A context N/A tos N/A N/A N/A TermsOfService objects get_current_tos N/A context N/A N/A _redirect_to N/A N/A redirect_to N/A N/A N/A  Moved redirect_to logic here to avoid duplication in views N/A N/A N/A redirect_to N/A redirect_to N/A N/A redirect_to N/A settings LOGIN_REDIRECT_URL N/A N/A N/A N/A // redirect_to N/A N/A re match [^\?]*// redirect_to N/A N/A redirect_to N/A settings LOGIN_REDIRECT_URL N/A redirect_to N/A check_tos N/A N/A request template_name redirect_field_name N/A tos/tos_check.html REDIRECT_FIELD_NAME N/A N/A redirect_to N/A _redirect_to N/A N/A N/A request POST get redirect_field_name N/A N/A N/A request GET get redirect_field_name N/A tos N/A N/A N/A TermsOfService objects get_current_tos N/A N/A N/A request method POST N/A N/A N/A N/A N/A N/A request POST get accept accept N/A N/A user N/A N/A N/A N/A get_runtime_user_model objects get pk N/A N/A request session N/A tos_user N/A N/A user backend N/A N/A request session N/A tos_backend N/A N/A N/A N/A UserAgreement objects create terms_of_service tos user user N/A N/A auth_login request user N/A N/A N/A N/A request session test_cookie_worked N/A N/A N/A N/A N/A request session delete_test_cookie N/A N/A HttpResponseRedirect redirect_to N/A N/A N/A N/A messages error request N/A _ You cannot login without agreeing to the terms of this site. N/A N/A render_to_response template_name N/A tos redirect_field_name tos redirect_to context_instance N/A RequestContext request N/A csrf_protect never_cache login N/A N/A request template_name redirect_field_name authentication_form N/A registration/login.html REDIRECT_FIELD_NAME AuthenticationForm N/A N/A Displays the login form and handles the login action. N/A redirect_to N/A N/A N/A request POST get redirect_field_name N/A N/A N/A request GET get redirect_field_name N/A N/A N/A request method POST N/A N/A form N/A authentication_form data N/A request POST N/A N/A N/A form is_valid N/A N/A redirect_to N/A _redirect_to redirect_to N/A user N/A N/A form get_user N/A N/A has_user_agreed_latest_tos user N/A N/A N/A auth_login request user N/A N/A N/A N/A request session test_cookie_worked N/A N/A N/A N/A N/A request session delete_test_cookie N/A N/A HttpResponseRedirect redirect_to N/A N/A N/A N/A request session N/A tos_user N/A user pk N/A N/A N/A request session N/A tos_backend N/A user backend N/A N/A render_to_response tos/tos_check.html N/A redirect_field_name tos redirect_to N/A N/A N/A TermsOfService objects get_current_tos context_instance N/A RequestContext request N/A N/A form N/A authentication_form request N/A N/A N/A N/A request session set_test_cookie N/A N/A N/A Site _meta installed N/A N/A current_site N/A N/A N/A Site objects get_current N/A N/A current_site N/A N/A get_request_site request N/A N/A render_to_response template_name N/A form redirect_field_name site site_name form redirect_to current_site N/A current_site name context_instance N/A RequestContext request N/A csrf_protect never_cache