Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num keyword NameLoad Assign NameStore Call NameLoad ListComp TupleLoad NameLoad SubscriptLoad NameLoad Index Num comprehension TupleStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler body Assign NameStore NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Str NameLoad Raise Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Dict Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Dict decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Return Call AttributeLoad NameLoad attr BinOpAdd Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str NameLoad body If UnaryOpNot NameLoad body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad orelse If CompareIn Str AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad If UnaryOpNot NameLoad body Raise Call AttributeLoad NameLoad attr Str Return Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad If CompareIn Str AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr NameLoad Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body If CompareIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad NameLoad TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If UnaryOpNot CompareIs NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad NameLoad If CompareIn Str NameLoad body Delete SubscriptDel NameLoad Index Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call NameLoad If Call NameLoad NameLoad body Assign NameStore TupleLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str NameLoad Expr Call AttributeLoad NameLoad attr Str Call NameLoad TupleLoad NameLoad NameLoad Return TupleLoad NameLoad Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Return Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If AttributeLoad NameLoad attr body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str If UnaryOpNot NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore NameLoad If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Str handlers ExceptHandler body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd AttributeLoad NameLoad attr CompareIn Str AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Return Call AttributeLoad NameLoad attr BinOpAdd Call AttributeLoad NameLoad attr Str Str Return NameLoad decorator_list
N/A N/A cgi N/A logging N/A urlparse django http django template django.conf settings django.template loader common api common exception common messages common util common validate common_confirm N/A N/A request N/A N/A N/A message N/A N/A request REQUEST N/A message N/A redirect_to N/A N/A request REQUEST N/A redirect_to N/A N/A N/A N/A N/A validate nonce request N/A message redirect_to N/A parts N/A N/A urlparse urlparse redirect_to N/A action_url N/A parts N/A 2 N/A query_dict N/A N/A cgi parse_qs N/A parts N/A 4 keep_blank_values True N/A query_dict N/A dict N/A N/A k N/A v N/A 0 N/A N/A k v N/A N/A query_dict iteritems N/A N/A N/A N/A message None N/A N/A N/A exception handle_exception request N/A c N/A N/A template RequestContext request N/A locals N/A t N/A N/A loader get_template common/templates/confirm.html N/A N/A N/A http HttpResponse N/A N/A t render c N/A common_logme N/A N/A request N/A N/A N/A N/A N/A logging info REQUEST: %s request N/A N/A N/A http Http404 N/A common_404 N/A N/A request template_name N/A 404.html N/A N/A t N/A N/A loader get_template template_name N/A N/A N/A http HttpResponseNotFound N/A N/A t render N/A N/A template RequestContext request N/A request_path N/A request path N/A common_500 N/A N/A request template_name N/A 500.html N/A N/A N/A N/A logging error An error occurred: %s N/A str request N/A t N/A N/A loader get_template template_name N/A N/A N/A http HttpResponse N/A N/A t render N/A N/A template RequestContext request N/A N/A common_error N/A N/A request N/A N/A N/A message N/A N/A request REQUEST N/A error N/A N/A N/A N/A N/A validate error_nonce request message N/A N/A N/A N/A N/A N/A exception handle_exception request N/A message An error has occurred N/A c N/A N/A template RequestContext request N/A locals N/A t N/A N/A loader get_template common/templates/error_generic.html N/A N/A N/A http HttpResponse N/A N/A t render c N/A common_noslash N/A N/A request path N/A N/A N/A N/A N/A http HttpResponseRedirect N/A / path N/A common_photo_upload N/A N/A request success nick N/A / None N/A N/A N/A nick N/A N/A nick N/A N/A request user nick N/A N/A request FILES N/A N/A N/A N/A N/A N/A validate nonce request change_photo N/A img N/A N/A N/A request FILES get imgfile N/A N/A img N/A N/A N/A N/A exception ValidationError imgfile must be set N/A N/A N/A validate avatar_photo_size img N/A img_url N/A N/A api avatar_upload N/A request user nick N/A N/A img read N/A N/A N/A api avatar_set_actor N/A request user nick img_url N/A N/A N/A util RedirectFlash success Avatar uploaded N/A N/A N/A N/A N/A N/A exception handle_exception request N/A N/A N/A avatar N/A request POST N/A N/A N/A N/A N/A N/A validate nonce request change_photo N/A avatar_path N/A N/A N/A request POST get avatar N/A N/A avatar_path N/A N/A N/A N/A exception ValidationError avatar must be set N/A rv N/A N/A api avatar_set_actor N/A request user nick avatar_path N/A N/A rv N/A N/A N/A N/A exception ValidationError failed to set avatar N/A N/A N/A util RedirectFlash success Avatar changed N/A N/A N/A N/A N/A N/A exception handle_exception request N/A N/A delete N/A request REQUEST N/A N/A N/A N/A N/A N/A validate nonce request delete_photo N/A N/A N/A validate confirm_dangerous request Delete your photo? N/A rv N/A N/A api avatar_clear_actor N/A request user nick N/A N/A N/A util RedirectFlash success Avatar deleted N/A N/A N/A N/A N/A N/A exception handle_exception request N/A call_api_from_request N/A N/A request api_call N/A N/A N/A Call an API function 'api_call' if it's present in the request parameters.

  The first parameter to the API call is always the logged-in user.

  The rest of the parameters may come in two forms:
    api_call_name=first_param& ... rest of params
    or
    api_call_name=& ... rest of params

    rest_of_params is always turned into Python keyword arguments.

    If the api_call_name has a value, that is turned into Python positional
    params.
  RETURNS:
    (False, None) if it isn't or the call throws an exception,
    (True, return value from call) otherwise.
   N/A request_dict N/A N/A request POST N/A request GET N/A N/A N/A api_call request_dict N/A N/A N/A N/A logging info >>> CALL: %s N/A str api_call N/A call N/A getattr api api_call N/A N/A N/A N/A N/A validate nonce request api_call N/A confirm_msg N/A N/A messages confirmation api_call N/A N/A N/A confirm_msg None N/A N/A N/A N/A validate confirm_dangerous request N/A N/A messages confirmation api_call N/A kwparams N/A N/A util query_dict_to_keywords request_dict N/A N/A N/A logging info >>> KWPARAMS: %s N/A str kwparams N/A N/A kwparams N/A N/A N/A kwparams N/A N/A first_param N/A N/A kwparams pop api_call N/A params N/A list N/A N/A len first_param N/A N/A params N/A first_param N/A N/A N/A validate nonce request api_call N/A N/A N/A kwparams pop _nonce N/A N/A N/A kwparams pop confirm None N/A N/A N/A kwparams pop redirect_to None N/A N/A N/A logging info ##### CALL: %s N/A str N/A params kwparams N/A N/A True N/A call N/A request user params kwparams N/A N/A N/A N/A N/A N/A exception handle_exception request N/A N/A False None N/A handle_view_action N/A N/A request actions N/A N/A N/A Call an API function based on the request parameters if there is a match
  to the keys in 'actions'. Redirect to the corresponding value in 'actions'
  after the call.
   N/A action N/A N/A actions keys N/A N/A N/A called ret N/A call_api_from_request request action N/A called N/A N/A redirect N/A actions N/A action N/A N/A N/A util RedirectFlash redirect N/A N/A messages flash action N/A None N/A common_design_update N/A N/A request nick N/A N/A N/A view N/A N/A api actor_get N/A api ROOT nick N/A N/A request POST N/A N/A N/A N/A N/A N/A validate nonce request update_design N/A color N/A N/A N/A request POST get bg_color N/A repeat N/A N/A N/A request POST get bg_repeat no-repeat N/A N/A repeat N/A N/A repeat N/A img N/A N/A N/A request FILES get bg_image N/A img_url None N/A img N/A N/A img_url N/A N/A api background_upload N/A request user nick N/A N/A img read N/A N/A N/A api background_set_actor N/A request user nick img_url color repeat N/A N/A N/A util RedirectFlash N/A N/A N/A view url /settings/design design updated N/A N/A N/A N/A N/A N/A exception handle_exception request N/A N/A N/A request GET N/A restore N/A request GET N/A N/A N/A N/A api background_clear_actor N/A request user nick N/A N/A N/A util RedirectFlash N/A N/A N/A view url /settings/design design updated N/A None N/A