mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-05 04:50:12 +03:00
Merge f5fedf075a
into 871ce34983
This commit is contained in:
commit
5bbf85c714
|
@ -456,6 +456,8 @@ class BrowsableAPIRenderer(BaseRenderer):
|
||||||
instance = None
|
instance = None
|
||||||
else:
|
else:
|
||||||
instance = None
|
instance = None
|
||||||
|
if method == 'POST':
|
||||||
|
serializer = None
|
||||||
|
|
||||||
# If this is valid serializer data, and the form is for the same
|
# If this is valid serializer data, and the form is for the same
|
||||||
# HTTP method as was used in the request then use the existing
|
# HTTP method as was used in the request then use the existing
|
||||||
|
|
Loading…
Reference in New Issue
Block a user