We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cbdbd2 commit 4210fedCopy full SHA for 4210fed
rest_framework/response.py
@@ -15,6 +15,7 @@ class Response(SimpleTemplateResponse):
15
An HttpResponse that allows its data to be rendered into
16
arbitrary media types.
17
"""
18
+ rendering_attrs = SimpleTemplateResponse.rendering_attrs + ['_closable_objects']
19
20
def __init__(self, data=None, status=200,
21
template_name=None, headers=None,
0 commit comments