please help to solve this problem
https://stackoverflow.com/questions/50367739/rest-framework-3-7-with-django-2-0-post-method-does-not-working-in-api-document?noredirect=1#comment87755771_50367739
On Thursday, May 18, 2017 at 5:21:12 PM UTC+5:30, Александр Иванчик wrote:
>
> I used to The autoogrnerated API docs(From the core of Django Rest
> framework).
> For generation I use generics, viewsets, mixins.
> Simple example:
> users/ - Displayed in documentation
> users/{id} - Displayed in documentation
> users/personal-profile - Not displayed in documentation
>
> class UserPersonalProfile(generics.RetrieveUpdateAPIView):
> permission_classes = (permissions.IsAuthenticated,)
> serializer_class = UserSerializer
> queryset = User.objects.all()
>
> def get_object(self):
> return self.request.user
>
> For the account does not work at all since there endpoints like:
> /accounts/base-sign-up
> /accounts/base-auth-token
> /accounts/sn-auth-token
--
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.