Browseable API doesn't show the fancy html form for PATCH requests #8862
-
PATCH requests show only the the raw form in the browseable api (that one with just the content type and the text field). In contrast PUT requests get the form with all the fields from the serializer. I would like to understand why there's only handling for PUT/POST, eg: django-rest-framework/rest_framework/renderers.py Lines 689 to 696 in 22d206c Is this just an oversight or there's something more complicated that prevents just adding a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
I actually also want to know the reasoning behind this decision. Should we raise an issue to get more attention ? Or maybe a Pull Request addressing this would be more efficient |
Beta Was this translation helpful? Give feedback.
-
I don't know the exact reason behind this, but if this is nothing super complicated and don't break any existing working functionality & don't add any new public API surface, then I think we could consider a patch to improve usability in this area. |
Beta Was this translation helpful? Give feedback.
I don't know the exact reason behind this, but if this is nothing super complicated and don't break any existing working functionality & don't add any new public API surface, then I think we could consider a patch to improve usability in this area.