Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[1.0.X] Correct weird typo that crept into [9567].

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9568 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 687823640d954a8bdd4002082694e4579848a4c3 1 parent c1ec41a
@ubernostrum ubernostrum authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/views/static.py
View
3  django/views/static.py
@@ -91,8 +91,7 @@ def serve(request, path, document_root=None, show_indexes=False):
def directory_index(path, fullpath):
try:
- t = loader.get_template('static/directory_index.html
- ')
+ t = loader.get_template('static/directory_index.html')
except TemplateDoesNotExist:
t = Template(DEFAULT_DIRECTORY_INDEX_TEMPLATE, name='Default directory index template')
files = []
Please sign in to comment.
Something went wrong with that request. Please try again.