I am new to using Django Rest framework, i am following this tutorial Django-Rest-Framework
Instead of snippets my model consists of a userprofile as given belo
In my case the typo was in views.py. Instead of ...
views.py
permission_classes = (permissions.IsAuthenticated,)
... I had ...
permission_classes = (permissions.IsAuthenticated)