Module Expr Str ImportFrom alias Import alias Import alias Import alias Import alias Import alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias alias alias alias alias ImportFrom alias alias alias alias ImportFrom alias alias ImportFrom alias identifier alias FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Str For NameStore Call AttributeLoad NameLoad attr Str body If UnaryOpNot NameLoad body Continue Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad If CompareIn NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Continue Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad attr Str Str If BoolOpAnd NameLoad CompareNotEq NameLoad NameLoad body Return Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body If NameLoad body Return Call NameLoad NameLoad NameLoad Raise Call NameLoad Call NameLoad Str If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Raise Call NameLoad BinOpMod Call NameLoad Str Dict Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore BoolOpOr NameLoad Str If UnaryOpNot Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad Str keyword NameLoad Assign SubscriptStore NameLoad Index Str Call NameLoad AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr If NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad Return NameLoad decorator_list Assign NameStore Str Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str handlers ExceptHandler type NameLoad body Assign NameStore Call NameLoad NameLoad keyword Str Assign NameStore ListLoad For NameStore Call AttributeLoad NameLoad attr NameLoad body If UnaryOpNot Call AttributeLoad NameLoad attr Str body If Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad body AugAssignAdd NameStore Str Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Dict Str Str BinOpAdd NameLoad Str NameLoad Return Call NameLoad Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num Num body Expr Str TryExcept body If CompareIs NameLoad NameLoad body Raise NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Num If BoolOpAnd NameLoad CompareNotEq Call NameLoad NameLoad NameLoad body Raise NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Raise NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list
N/A N/A 
Views and functions for serving static files. These are only to be used
during development, and SHOULD NOT be used in a production setting.
 __future__ unicode_literals N/A mimetypes N/A os N/A stat N/A posixpath N/A re N/A N/A urllib.parse unquote N/A N/A N/A ImportError N/A urllib unquote django.http CompatibleStreamingHttpResponse Http404 HttpResponse HttpResponseRedirect HttpResponseNotModified django.template loader Template Context TemplateDoesNotExist django.utils.http http_date parse_http_date django.utils.translation ugettext _ ugettext_noop serve N/A N/A request path document_root show_indexes N/A None False N/A N/A 
    Serve static files below a given point in the directory structure.

    To use, put a URL pattern such as::

        (r'^(?P<path>.*)$', 'django.views.static.serve', {'document_root' : '/path/to/my/files/'})

    in your URLconf. You must provide the ``document_root`` param. You may
    also set ``show_indexes`` to ``True`` if you'd like to serve a basic index
    of the directory.  This index view will use the template hardcoded below,
    but if you'd like to override it, you can create a template called
    ``static/directory_index.html``.
     N/A path N/A N/A posixpath normpath N/A unquote path N/A path N/A N/A path lstrip / N/A newpath N/A part N/A N/A path split / N/A N/A N/A part N/A N/A N/A N/A drive part N/A N/A N/A os path splitdrive part N/A N/A head part N/A N/A N/A os path split part N/A N/A part N/A N/A os curdir N/A os pardir N/A N/A N/A newpath N/A N/A N/A N/A N/A os path join newpath part replace \ / N/A N/A newpath N/A path newpath N/A N/A N/A HttpResponseRedirect newpath N/A fullpath N/A N/A N/A os path join document_root newpath N/A N/A N/A N/A os path isdir fullpath N/A N/A show_indexes N/A N/A N/A directory_index newpath fullpath N/A N/A Http404 N/A _ Directory indexes are not allowed here. N/A N/A N/A N/A N/A os path exists fullpath N/A N/A N/A Http404 N/A N/A _ "%(path)s" does not exist N/A path fullpath N/A statobj N/A N/A os stat fullpath N/A N/A mimetype encoding N/A N/A mimetypes guess_type fullpath N/A mimetype N/A mimetype application/octet-stream N/A N/A N/A was_modified_since N/A N/A N/A request META get HTTP_IF_MODIFIED_SINCE N/A statobj st_mtime N/A statobj st_size N/A N/A N/A HttpResponseNotModified N/A response N/A CompatibleStreamingHttpResponse N/A open fullpath rb content_type mimetype N/A N/A response N/A Last-Modified N/A http_date N/A statobj st_mtime N/A N/A N/A stat S_ISREG N/A statobj st_mode N/A N/A N/A response N/A Content-Length N/A statobj st_size N/A encoding N/A N/A N/A response N/A Content-Encoding encoding N/A response N/A N/A DEFAULT_DIRECTORY_INDEX_TEMPLATE 
{% load i18n %}
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
    <meta name="robots" content="NONE,NOARCHIVE" />
    <title>{% blocktrans %}Index of {{ directory }}{% endblocktrans %}</title>
  </head>
  <body>
    <h1>{% blocktrans %}Index of {{ directory }}{% endblocktrans %}</h1>
    <ul>
      {% ifnotequal directory "/" %}
      <li><a href="../">../</a></li>
      {% endifnotequal %}
      {% for f in file_list %}
      <li><a href="{{ f|urlencode }}">{{ f }}</a></li>
      {% endfor %}
    </ul>
  </body>
</html>
 N/A template_translatable N/A ugettext_noop Index of %(directory)s directory_index N/A N/A path fullpath N/A N/A N/A N/A N/A t N/A N/A loader select_template N/A static/directory_index.html static/directory_index N/A N/A N/A TemplateDoesNotExist N/A N/A t N/A Template DEFAULT_DIRECTORY_INDEX_TEMPLATE name Default directory index template N/A files N/A N/A f N/A N/A os listdir fullpath N/A N/A N/A N/A N/A f startswith . N/A N/A N/A N/A N/A os path isdir N/A N/A N/A os path join fullpath f N/A N/A f / N/A N/A N/A files append f N/A c N/A Context N/A directory file_list N/A path / files N/A N/A HttpResponse N/A N/A t render c N/A was_modified_since N/A N/A header mtime size N/A None 0 0 N/A N/A 
    Was something modified since the user last downloaded it?

    header
      This is the value of the If-Modified-Since header.  If this is None,
      I'll just return True.

    mtime
      This is the modification time of the item we're talking about.

    size
      This is the size of the item we're talking about.
     N/A N/A N/A N/A header None N/A N/A ValueError N/A matches N/A N/A re match ^([^;]+)(; length=([0-9]+))?$ header N/A re IGNORECASE N/A header_mtime N/A parse_http_date N/A N/A matches group 1 N/A header_len N/A N/A matches group 3 N/A N/A header_len N/A N/A int header_len size N/A N/A ValueError N/A N/A N/A int mtime header_mtime N/A N/A ValueError N/A N/A N/A N/A AttributeError ValueError OverflowError N/A N/A True N/A False N/A