from django.urls import path, include
from .api import RegisterAPI,LoginAPI,UserAPI
from knox import views as knox_views

urlpatterns = [
    path ('api/auth', include ('knox.urls')),
    path ('register', RegisterAPI.as_view()),
    path ('login', LoginAPI.as_view()),
    path ('user', UserAPI.as_view()),
    path ('logout', knox_views.LogoutView.as_view(),name = 'knox_logout'),
]

f672fc7bbcd3e4e78d2aad2d223383b4ca2cd11f
<mask token>

<mask token>
urlpatterns = [path('api/auth', include('knox.urls')), path('register',
    RegisterAPI.as_view()), path('login', LoginAPI.as_view()), path('user',
    UserAPI.as_view()), path('logout', knox_views.LogoutView.as_view(),
    name='knox_logout')]

from django.urls import path, include
from .api import RegisterAPI, LoginAPI, UserAPI
from knox import views as knox_views
urlpatterns = [path('api/auth', include('knox.urls')), path('register',
    RegisterAPI.as_view()), path('login', LoginAPI.as_view()), path('user',
    UserAPI.as_view()), path('logout', knox_views.LogoutView.as_view(),
    name='knox_logout')]

from django.urls import path, include
from .api import RegisterAPI,LoginAPI,UserAPI
from knox import views as knox_views

urlpatterns = [
    path ('api/auth', include ('knox.urls')),
    path ('register', RegisterAPI.as_view()),
    path ('login', LoginAPI.as_view()),
    path ('user', UserAPI.as_view()),
    path ('logout', knox_views.LogoutView.as_view(),name = 'knox_logout'),
]
