mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
pep8 fixes
This commit is contained in:
parent
f5a07603fe
commit
0a4a935b5d
|
@ -14,8 +14,8 @@ class Response(SimpleTemplateResponse):
|
|||
An HttpResponse that allows its data to be rendered into
|
||||
arbitrary media types.
|
||||
"""
|
||||
#SimpleTemplateResponse use this property in __getstate__ to remove attrs
|
||||
#from being pickled so we inherit and use it as well
|
||||
# SimpleTemplateResponse use this property in __getstate__ to remove attrs
|
||||
# from being pickled so we inherit and use it as well
|
||||
rendering_attrs = SimpleTemplateResponse.rendering_attrs + \
|
||||
['accepted_renderer', 'renderer_context', 'data']
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user