~ubuntu-branches/ubuntu/jaunty/python-django/jaunty-backports

« back to all changes in this revision

Viewing changes to django/views/static.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2008-11-15 19:15:33 UTC
  • mfrom: (1.1.6 upstream)
  • Revision ID: james.westby@ubuntu.com-20081115191533-xbt1ut2xf4fvwtvc
Tags: 1.0.1-0ubuntu1
* New upstream release:
  - Bug fixes.

* The tests/ sub-directory appaers to have been dropped upstream, so pull
  our patch to workaround the tests and modify the rules.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
    <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
74
74
    <meta http-equiv="Content-Language" content="en-us" />
75
75
    <meta name="robots" content="NONE,NOARCHIVE" />
76
 
    <title>Index of {{ directory|escape }}</title>
 
76
    <title>Index of {{ directory }}</title>
77
77
  </head>
78
78
  <body>
79
 
    <h1>Index of {{ directory|escape }}</h1>
 
79
    <h1>Index of {{ directory }}</h1>
80
80
    <ul>
 
81
      {% ifnotequal directory "/" %}
 
82
      <li><a href="../">../</a></li>
 
83
      {% endifnotequal %}
81
84
      {% for f in file_list %}
82
 
      <li><a href="{{ f|urlencode }}">{{ f|escape }}</a></li>
 
85
      <li><a href="{{ f|urlencode }}">{{ f }}</a></li>
83
86
      {% endfor %}
84
87
    </ul>
85
88
  </body>