Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn Str AttributeLoad NameLoad attr body For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str body Return Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad NameLoad AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Slice If BoolOpAnd AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Num UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign SubscriptStore NameLoad Index Num BinOpAdd Str SubscriptLoad NameLoad Index Num If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad SubscriptLoad NameLoad Index Num attr Str body Assign NameStore Call NameLoad NameLoad Str NameLoad If BoolOpAnd UnaryOpNot Call NameLoad AttributeLoad NameLoad attr NameLoad Call NameLoad BinOpMod Str AttributeLoad NameLoad attr NameLoad body Assign SubscriptStore NameLoad Index Num BinOpAdd SubscriptLoad NameLoad Index Num Str If BoolOpAnd AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str body Raise NameLoad BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num If CompareEq NameLoad NameLoad body Return If SubscriptLoad NameLoad Index Num body Assign NameStore BinOpMod Str TupleLoad BoolOpOr BoolOpAnd Call AttributeLoad NameLoad attr Str Str SubscriptLoad NameLoad Index Num Call NameLoad SubscriptLoad NameLoad Index Num orelse Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Num If AttributeLoad NameLoad attr body AugAssignAdd NameStore BinOpAdd Str SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareEq AttributeLoad NameLoad attr Num body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr If BoolOpAnd NameLoad UnaryOpNot Call NameLoad NameLoad BoolOpOr NameLoad CompareNotIn Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Str Expr Call NameLoad BinOpMod Str TupleLoad BoolOpOr BoolOpAnd NameLoad Str Str NameLoad BinOpMod Str TupleLoad NameLoad Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return NameLoad If AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr Str body Assign NameStore SubscriptLoad NameLoad Index Str orelse Assign NameStore BinOpMod Str Call AttributeLoad Call NameLoad AttributeLoad NameLoad attr attr If BoolOpAnd CompareGtE AttributeLoad NameLoad attr Num CompareLt AttributeLoad NameLoad attr Num CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad For NameStore AttributeLoad NameLoad attr body If Call AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BoolOpAnd CompareIsNot NameLoad NameLoad Call AttributeLoad NameLoad attr BinOpMod Str Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Return NameLoad decorator_list
N/A N/A re django.conf settings django http django.core.mail mail_managers django.utils.http urlquote django.core urlresolvers django.utils.hashcompat md5_constructor CommonMiddleware N/A object N/A N/A 
    "Common" middleware for taking care of some basic operations:

        - Forbids access to User-Agents in settings.DISALLOWED_USER_AGENTS

        - URL rewriting: Based on the APPEND_SLASH and PREPEND_WWW settings,
          this middleware appends missing slashes and/or prepends missing
          "www."s.

            - If APPEND_SLASH is set and the initial URL doesn't end with a
              slash, and it is not found in urlpatterns, a new URL is formed by
              appending a slash at the end. If this new URL is found in
              urlpatterns, then an HTTP-redirect is returned to this new URL;
              otherwise the initial URL is processed as usual.

        - ETags: If the USE_ETAGS setting is set, ETags will be calculated from
          the entire page content and Not Modified responses will be returned
          appropriately.
     process_request N/A N/A self request N/A N/A N/A 
        Check for denied User-Agents and rewrite the URL based on
        settings.APPEND_SLASH and settings.PREPEND_WWW
         N/A N/A HTTP_USER_AGENT N/A request META N/A N/A user_agent_regex N/A settings DISALLOWED_USER_AGENTS N/A N/A N/A N/A user_agent_regex search N/A N/A request META N/A HTTP_USER_AGENT N/A N/A N/A N/A http HttpResponseForbidden <h1>Forbidden</h1> N/A host N/A N/A request get_host N/A old_url N/A host N/A request path N/A new_url N/A old_url N/A N/A N/A N/A settings PREPEND_WWW N/A old_url N/A 0 N/A N/A N/A N/A old_url N/A 0 startswith www. N/A N/A N/A new_url N/A 0 N/A www. N/A old_url N/A 0 N/A N/A N/A settings APPEND_SLASH N/A N/A N/A N/A old_url N/A 1 endswith / N/A N/A urlconf N/A getattr request urlconf None N/A N/A N/A N/A _is_valid_path N/A request path_info urlconf N/A _is_valid_path N/A %s/ N/A request path_info urlconf N/A N/A N/A new_url N/A 1 N/A N/A new_url N/A 1 / N/A N/A N/A settings DEBUG N/A N/A request method POST N/A N/A RuntimeError N/A You called this URL via POST, but the URL doesn't end in a slash and you have APPEND_SLASH set. Django can't redirect to the slash URL while maintaining POST data. Change your form to point to %s%s (note the trailing slash), or set APPEND_SLASH=False in your Django settings. N/A N/A new_url N/A 0 N/A new_url N/A 1 N/A N/A new_url old_url N/A N/A N/A N/A new_url N/A 0 N/A N/A newurl N/A %s://%s%s N/A N/A N/A N/A N/A request is_secure https http N/A new_url N/A 0 N/A urlquote N/A new_url N/A 1 N/A N/A newurl N/A urlquote N/A new_url N/A 1 N/A N/A request GET N/A N/A newurl N/A ? N/A N/A request META N/A QUERY_STRING N/A N/A N/A http HttpResponsePermanentRedirect newurl N/A process_response N/A N/A self request response N/A N/A N/A Send broken link emails and calculate the Etag, if needed. N/A N/A N/A response status_code 404 N/A N/A N/A N/A settings SEND_BROKEN_LINK_EMAILS N/A N/A settings DEBUG N/A N/A domain N/A N/A request get_host N/A referer N/A N/A N/A request META get HTTP_REFERER None N/A is_internal N/A _is_internal_request domain referer N/A path N/A N/A request get_full_path N/A N/A referer N/A N/A _is_ignorable_404 path N/A is_internal N/A ? referer N/A N/A ua N/A N/A N/A request META get HTTP_USER_AGENT <none> N/A ip N/A N/A N/A request META get REMOTE_ADDR <none> N/A N/A mail_managers N/A Broken %slink on %s N/A N/A N/A is_internal INTERNAL  domain N/A Referrer: %s
Requested URL: %s
User agent: %s
IP address: %s
 N/A referer N/A N/A request get_full_path ua ip fail_silently True N/A response N/A N/A settings USE_ETAGS N/A N/A N/A N/A response has_header ETag N/A N/A etag N/A response N/A ETag N/A N/A etag N/A "%s" N/A N/A N/A md5_constructor N/A response content hexdigest N/A N/A N/A N/A response status_code 200 N/A N/A response status_code 300 N/A N/A N/A N/A request META get HTTP_IF_NONE_MATCH etag N/A N/A cookies N/A response cookies N/A response N/A N/A http HttpResponseNotModified N/A N/A response cookies cookies N/A N/A N/A response N/A ETag etag N/A response N/A N/A _is_ignorable_404 N/A N/A uri N/A N/A N/A 
    Returns True if a 404 at the given URL *shouldn't* notify the site managers.
     N/A start N/A settings IGNORABLE_404_STARTS N/A N/A N/A N/A uri startswith start N/A N/A True N/A end N/A settings IGNORABLE_404_ENDS N/A N/A N/A N/A uri endswith end N/A N/A True N/A False N/A _is_internal_request N/A N/A domain referer N/A N/A N/A 
    Returns true if the referring URL is the same domain as the current request.
     N/A N/A N/A referer None N/A N/A re match N/A ^https?://%s/ N/A N/A re escape domain referer N/A _is_valid_path N/A N/A path urlconf N/A None N/A N/A 
    Returns True if the given path resolves against the default URL resolver,
    False otherwise.

    This is a convenience method to make working with "is this a match?" cases
    easier, avoiding unnecessarily indented try...except blocks.
     N/A N/A N/A N/A N/A urlresolvers resolve path urlconf N/A True N/A N/A N/A N/A urlresolvers Resolver404 N/A N/A False N/A