Hi,

I'm currently developing an app with django-rest-framework, and as a 
requirement for the dev and testing environments we are trying to ensure 
that all API viewsets are visible in the ApiRoot.

However from what I can tell, if a view does not have a create view, it 
will not display in the API view and trying to hit the endpoint results in 
a 404.

Currenltly I'm trying to figure out why and where the documentation is 
regarding this behaviour, because so far there doesn't seem to be any 
mention of this.

For example: 

class UpdateRetrieveView(RetrieveModelMixin, UpdateModelMixin, 
GenericViewSet):

This will not display in the API, add the CreateModelMixin however, and it 
will..

-- 
You received this message because you are subscribed to the Google Groups 
"Django REST framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to