diff options
Diffstat (limited to 'django/views/static.py')
| -rw-r--r-- | django/views/static.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/static.py b/django/views/static.py index 1e99c8c50a..3ec4ca14a1 100644 --- a/django/views/static.py +++ b/django/views/static.py @@ -92,7 +92,7 @@ def directory_index(path, fullpath): 'directory' : path + '/', 'file_list' : files, }) - return HttpResponse(t.iter_render(c)) + return HttpResponse(t.render(c)) def was_modified_since(header=None, mtime=0, size=0): """ |
