Skip to content

api endpoint does not display properly #109

Open
@jian-en

Description

@jian-en

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions