django-rest-framework-docs
django-rest-framework-docs copied to clipboard
api endpoint does not display properly
my drf project layout:
project: - urls.py api:
- urls.py
In project/urls.py I defined the url routing like:
urlpatterns = [url(r'^api/', include('api.urls', namespace='api')), url(r'^api-token-auth/', views.obtain_token),]
on the drf web page, it gives me api/api-token-auth as the endpoint but it should be api-token-auth/. Hope this issue can be quickly fixed. thanks!
i have had a similar issue, check my PR #107 it should fix the problem.