1👍
Example uses users
endpoint
router.register(r'users', UserViewSet)
urlpatterns = [
url(r'^', include(router.urls)),
url(r'^api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]
You are using myapp
endpoint, and not telling us how you hooked it up in your urls.py.
Source:stackexchange.com