15 lines
519 B
Python
15 lines
519 B
Python
from django.urls import path
|
|
from rest_framework_simplejwt.views import TokenVerifyView
|
|
|
|
from accounts import views
|
|
|
|
app_name = "accounts"
|
|
|
|
urlpatterns = [
|
|
path("register/", views.register_view, name="register"),
|
|
path("login/", views.login_view, name="login"),
|
|
path("token/refresh/", views.token_refresh_view, name="token-refresh"),
|
|
path("token/verify/", TokenVerifyView.as_view(), name="token-verify"),
|
|
path("logout/", views.logout_view, name="logout"),
|
|
path("me/", views.me_view, name="me"),
|
|
] |