Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad Str NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str Str Str Str Assign NameStore Call AttributeLoad AttributeLoad Call NameLoad attr attr keyword Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr CompareIn Call NameLoad Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Str keyword Dict Str Str Str Str Str Str Str Str Expr Call AttributeLoad NameLoad attr Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Str attr decorator_list decorator_list
N/A django.conf settings django.core.urlresolvers reverse django.test TestCase registration.forms RegistrationForm registration.users UserModel SimpleBackendViewTests N/A TestCase N/A N/A urls test_app.urls_simple test_allow N/A N/A self N/A N/A N/A 
        The setting ``REGISTRATION_OPEN`` appropriately controls
        whether registration is permitted.

         N/A old_allowed N/A getattr settings REGISTRATION_OPEN True N/A N/A settings REGISTRATION_OPEN True N/A resp N/A N/A N/A self client get N/A reverse registration_register N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A settings REGISTRATION_OPEN False N/A resp N/A N/A N/A self client get N/A reverse registration_register N/A N/A N/A self assertRedirects resp N/A reverse registration_disallowed N/A resp N/A N/A N/A self client post N/A reverse registration_register data N/A username email password1 password2 bob bob@example.com secret secret N/A N/A N/A self assertRedirects resp N/A reverse registration_disallowed N/A N/A settings REGISTRATION_OPEN old_allowed N/A test_registration_get N/A N/A self N/A N/A N/A 
        HTTP ``GET`` to the registration view uses the appropriate
        template and populates a registration form into the context.

         N/A resp N/A N/A N/A self client get N/A reverse registration_register N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A N/A self assertTemplateUsed resp registration/registration_form.html N/A N/A N/A self failUnless N/A isinstance N/A N/A resp context N/A form RegistrationForm N/A test_registration N/A N/A self N/A N/A N/A 
        Registration creates a new account and logs the user in.

         N/A resp N/A N/A N/A self client post N/A reverse registration_register data N/A username email password1 password2 bob bob@example.com secret secret N/A new_user N/A N/A N/A N/A UserModel objects get username bob N/A N/A N/A self assertEqual 302 N/A resp status_code N/A N/A N/A self failUnless N/A N/A reverse registration_complete N/A resp N/A Location N/A N/A N/A self failUnless N/A N/A new_user check_password secret N/A N/A N/A self assertEqual N/A new_user email bob@example.com N/A N/A N/A self failUnless N/A new_user is_active N/A resp N/A N/A N/A self client get N/A reverse registration_register N/A N/A N/A self failUnless N/A N/A N/A N/A resp context N/A user is_authenticated N/A test_registration_failure N/A N/A self N/A N/A N/A 
        Registering with invalid data fails.

         N/A resp N/A N/A N/A self client post N/A reverse registration_register data N/A username email password1 password2 bob bob@example.com secret notsecret N/A N/A N/A self assertEqual 200 N/A resp status_code N/A N/A N/A self failIf N/A N/A N/A N/A resp context N/A form is_valid N/A N/A