mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-22 17:47:04 +03:00
parent
647fdb51d2
commit
131e99baef
1
rest_framework/response.py
Normal file → Executable file
1
rest_framework/response.py
Normal file → Executable file
|
@ -91,4 +91,5 @@ class Response(SimpleTemplateResponse):
|
|||
for key in ('accepted_renderer', 'renderer_context', 'data'):
|
||||
if key in state:
|
||||
del state[key]
|
||||
state['_closable_objects'] = []
|
||||
return state
|
||||
|
|
Loading…
Reference in New Issue
Block a user