  
  The appropriate renderer is called during Django's template response rendering.
  """
  from __future__ import unicode_literals
  import django
  from django.core.handlers.wsgi import STATUS_CODE_TEXT
  from django.template.response import SimpleTemplateResponse
  from django.utils import six
  
  
 
</s> remove     # TODO: remove that once Django 1.3 isn't supported
    if django.VERSION >= (1, 4):
        rendering_attrs = SimpleTemplateResponse.rendering_attrs + ['_closable_objects']
 </s> add  </s> remove         del resp.client, resp.request
 </s> add         del resp.client, resp.request, resp._closable_objects
  
  The appropriate renderer is called during Django's template response rendering.
  """
  from __future__ import unicode_literals

  from django.core.handlers.wsgi import STATUS_CODE_TEXT
  from django.template.response import SimpleTemplateResponse
  from django.utils import six
  
  
keep keep keep keep replace keep keep keep keep keep
 Reverted 59d0a0387d907260ef8f91bbbca618831abd75a3 and fixed the tests 
rest_framework/response.py