1
0
mirror of https://github.com/django/django.git synced 2025-10-29 00:26:07 +00:00

Fixed #4565 -- Changed template rendering to use iterators, rather than

creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Malcolm Tredinnick
2007-06-17 07:11:37 +00:00
parent 44dd91ec6d
commit bccb8897e6
21 changed files with 284 additions and 161 deletions

View File

@@ -92,7 +92,7 @@ def directory_index(path, fullpath):
'directory' : path + '/',
'file_list' : files,
})
return HttpResponse(t.render(c))
return HttpResponse(t.iter_render(c))
def was_modified_since(header=None, mtime=0, size=0):
"""