Archived
- add uv configuration for the backend - update frontend to make auth work - add new auth endpoints - add bookmars feat - add reader feat
12 lines
471 B
Python
12 lines
471 B
Python
from django.urls import path
|
|
from rest_framework_simplejwt.views import TokenRefreshView
|
|
|
|
from apps.users.views import EmailTokenObtainPairView, RegisterView
|
|
|
|
urlpatterns = [
|
|
path("register/", RegisterView.as_view(), name="register"),
|
|
path("token/", EmailTokenObtainPairView.as_view(), name="token_obtain_pair"),
|
|
path("login/", EmailTokenObtainPairView.as_view(), name="login"),
|
|
path("token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
|
|
]
|