This commit is contained in:
Alejandro R. Sedeño 2017-05-25 11:01:50 +00:00 committed by GitHub
commit 5bbf85c714

View File

@ -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