Fixed the cache issue with Django 1.7 rc*

This commit is contained in:
Xavier Ordoquy 2014-07-29 08:35:00 +02:00
parent 0cbdbd24e5
commit 4210fedd21

View File

@ -15,6 +15,7 @@ class Response(SimpleTemplateResponse):
An HttpResponse that allows its data to be rendered into
arbitrary media types.
"""
rendering_attrs = SimpleTemplateResponse.rendering_attrs + ['_closable_objects']
def __init__(self, data=None, status=200,
template_name=None, headers=None,