Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call NameLoad Str Str decorator_list Call NameLoad keyword NameLoad FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A django.conf settings django.contrib.auth.models SiteProfileNotAvailable django.core.exceptions ImproperlyConfigured django.db.models get_model django.test TestCase django.test.utils override_settings userprofiles forms userprofiles utils UtilsTests N/A TestCase N/A test_get_profile_module_disabled N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A utils get_profile_model None N/A test_get_profile_module_enabled N/A N/A self N/A N/A N/A N/A settings AUTH_PROFILE_MODULE None N/A N/A N/A self assertRaises SiteProfileNotAvailable N/A utils get_profile_model N/A N/A settings AUTH_PROFILE_MODULE test_project.test_accounts.Profile N/A N/A N/A self assertRaises SiteProfileNotAvailable N/A utils get_profile_model N/A N/A settings AUTH_PROFILE_MODULE test_accounts.InvalidProfile N/A N/A N/A self assertRaises SiteProfileNotAvailable N/A utils get_profile_model N/A N/A settings AUTH_PROFILE_MODULE test_accounts.Profile N/A N/A N/A self assertEqual N/A N/A utils get_profile_model N/A get_model test_accounts Profile N/A N/A override_settings USERPROFILES_USE_PROFILE True test_get_form_class N/A N/A self N/A N/A N/A N/A N/A self assertEqual N/A N/A utils get_form_class userprofiles.forms.RegistrationForm N/A forms RegistrationForm N/A N/A N/A self assertRaises ImproperlyConfigured N/A utils get_form_class userprofiles.invalid_forms.RegistrationForm N/A N/A N/A self assertRaises ImproperlyConfigured N/A utils get_form_class userprofiles.forms.InvalidRegistrationForm N/A N/A