update otp
This commit is contained in:
@@ -5,15 +5,17 @@ from drf_spectacular.views import SpectacularSwaggerView, SpectacularAPIView
|
||||
from django.conf import settings
|
||||
from rest_framework_simplejwt.views import TokenObtainPairView,TokenRefreshView
|
||||
from product import views
|
||||
from account.views import CustomTokenObtainPairView
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
|
||||
# djoser
|
||||
path('auth/', include('djoser.urls')),
|
||||
path('auth/', include('djoser.urls.jwt')),
|
||||
# path('auth/', include('djoser.urls')),
|
||||
# path('auth/', include('djoser.urls.jwt')),
|
||||
|
||||
|
||||
path('token/', TokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/', CustomTokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('admin/', admin.site.urls),
|
||||
path('schema/', SpectacularAPIView.as_view(), name='schema'),
|
||||
|
||||
Reference in New Issue
Block a user