from django.urls import path, include
from knox import views as knox_views

from . import api

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


