We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67ae6b2 commit e231a41Copy full SHA for e231a41
rest_framework/response.py
@@ -91,4 +91,5 @@ def __getstate__(self):
91
for key in ('accepted_renderer', 'renderer_context', 'data'):
92
if key in state:
93
del state[key]
94
+ state['_closable_objects'] = []
95
return state
0 commit comments