Spaces:
Runtime error
Runtime error
| from django.urls import path | |
| from rest_framework_simplejwt.views import TokenRefreshView | |
| from .views import ( | |
| RegisterView, LoginView, LogoutView, UserMeView, | |
| ProfileView, ParseResumeStubView, | |
| ) | |
| urlpatterns = [ | |
| path('register/', RegisterView.as_view(), name='register'), | |
| path('login/', LoginView.as_view(), name='login'), | |
| path('logout/', LogoutView.as_view(), name='logout'), | |
| path('me/', UserMeView.as_view(), name='user-me'), | |
| path('token/refresh/', TokenRefreshView.as_view(), name='token-refresh'), | |
| path('profile/', ProfileView.as_view(), name='profile'), | |
| path('profile/parse-resume/', ParseResumeStubView.as_view(), name='profile-parse-resume'), | |
| ] | |