We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When using ModelViewSets, the apis shown in doc are wrong.
class UserInfoSerializer(ModelSerializer): class Meta: model = User class UserInfo(ModelViewSet): queryset = User.objects.all() serializer_class = UserInfoSerializer urlpatterns = [ url(r'^docs/', include('rest_framework_docs.urls')), ] urlpatterns += router.urls
The results in /docs/ are
/docs/
/docs/users/ OPTIONS /docs/users/<pk>/ OPTIONS
Is this a already known bug?
The text was updated successfully, but these errors were encountered:
ModelViewSet is not currently supported. Refer to #58 .
Sorry, something went wrong.
No branches or pull requests
When using ModelViewSets, the apis shown in doc are wrong.
The results in
/docs/
areIs this a already known bug?
The text was updated successfully, but these errors were encountered: