Module ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias alias alias ImportFrom alias alias alias ImportFrom alias alias identifier alias identifier ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias ImportFrom alias alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad name NameStore body ImportFrom alias TryExcept body ImportFrom alias identifier handlers ExceptHandler type NameLoad name NameStore body ImportFrom alias identifier FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr body Return Call NameLoad AttributeLoad NameLoad attr Return Call NameLoad Call NameLoad Str keyword TupleLoad AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad Return Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Return Call NameLoad Str Call NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad Assign NameStore NameLoad If CompareNotEq AttributeLoad NameLoad attr Str body If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad keyword NameLoad Assign NameStore Call NameLoad keyword NameLoad orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad If Call AttributeLoad NameLoad attr NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad If Call AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad If BoolOpAnd NameLoad Call AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr orelse Assign NameStore NameLoad If NameLoad body Return Call NameLoad Call NameLoad Str keyword TupleLoad NameLoad Return Call NameLoad Str Call NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad keyword Call NameLoad NameLoad decorator_list Call NameLoad ListLoad Str Str NameLoad
N/A django.conf settings django.db models django.contrib.auth.models User AnonymousUser django.contrib.auth.forms UserChangeForm django.http HttpResponseRedirect HttpResponse HttpResponseForbidden HttpResponseNotFound django.views.decorators.http require_GET require_POST require_http_methods django.contrib.auth REDIRECT_FIELD_NAME login auth_login logout auth_logout django.contrib.auth.decorators login_required django.shortcuts get_object_or_404 render_to_response django.template RequestContext models UserProfile forms UserProfileEditForm UserEditForm N/A N/A commons.urlresolvers reverse N/A N/A N/A ImportError N/A e N/A django.core.urlresolvers reverse N/A N/A tower ugettext_lazy _ N/A N/A N/A ImportError N/A e N/A django.utils.translation ugettext_lazy _ home N/A N/A request N/A N/A N/A Profile home page N/A N/A N/A N/A N/A request user is_authenticated N/A N/A N/A HttpResponseRedirect N/A settings LOGIN_REDIRECT_URL_FAILURE N/A N/A HttpResponseRedirect N/A reverse profiles.profile_view args N/A N/A N/A request user username N/A logout N/A N/A request N/A N/A N/A Simple logout view that bounces back to home page N/A N/A auth_logout request N/A N/A HttpResponseRedirect / N/A require_GET profile_view N/A N/A request username N/A N/A N/A user N/A get_object_or_404 User username username N/A profile N/A N/A user get_profile N/A N/A render_to_response profiles/profile_view.html N/A dict user user profile profile context_instance N/A RequestContext request N/A require_GET profile_edit N/A N/A request username N/A N/A N/A user N/A get_object_or_404 User username username N/A profile N/A N/A user get_profile N/A N/A N/A N/A profile allows_edit N/A request user N/A N/A N/A HttpResponseForbidden N/A user_form None N/A N/A N/A request method POST N/A N/A N/A N/A profile can_change_username user N/A N/A user_form N/A UserEditForm profile profile N/A profile_form N/A UserProfileEditForm instance profile N/A N/A username N/A N/A profile user username N/A is_valid True N/A N/A N/A profile can_change_username user N/A N/A user_form N/A UserEditForm N/A request POST profile profile N/A N/A N/A user_form is_valid N/A N/A username N/A N/A user_form cleaned_data N/A username N/A N/A N/A profile change_username username N/A N/A is_valid False N/A profile_form N/A UserProfileEditForm N/A request POST N/A request FILES instance profile N/A N/A is_valid N/A N/A profile_form is_valid N/A N/A profile N/A N/A profile_form save commit False N/A N/A N/A profile save N/A N/A N/A profile_form save_m2m N/A N/A is_valid False N/A is_valid N/A N/A N/A HttpResponseRedirect N/A reverse profiles.profile_view args N/A username N/A N/A render_to_response profiles/profile_edit.html N/A dict user_form user_form profile_form profile_form user user profile profile context_instance N/A RequestContext request N/A N/A require_http_methods N/A GET POST login_required