mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 20:40:14 +03:00
Merge f5fedf075a
into 871ce34983
This commit is contained in:
commit
5bbf85c714
|
@ -456,6 +456,8 @@ class BrowsableAPIRenderer(BaseRenderer):
|
|||
instance = None
|
||||
else:
|
||||
instance = None
|
||||
if method == 'POST':
|
||||
serializer = None
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue
Block a user