from django.urls import path, include from custom_auth import views urlpatterns = [ path('', include('rest_framework.urls')), path('token/', views.CustomAuthToken.as_view()), path('register/', views.RegisterView.as_view()) ]