manosim / manosim/django-rest-framework-docs

ModelViewSet doesn't show request methods, instead it only show option button

Open
#58 27 comments 3 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
Python
Stars
641
Forks
178
PR merge metrics
No merged PRs in 30d

Description

I am using model view set and register it with router. On /docs url, it shows only option button. It doesn't show request methods(eg. GET, POST etc). Similarly on clicking plugin button, it only shows option button, not request methods. I am not able to send get request. Since it shows field required error messages.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue at /docs with a Django REST Framework ModelViewSet registered through a router, then inspect how the generated controls expose request methods. Compare the ModelViewSet and plugin views, and consider the issue resolved when methods such as GET and POST are shown and a GET request can be sent without incorrect required-field errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.