remove token slash
This commit is contained in:
@@ -16,8 +16,8 @@ urlpatterns = [
|
||||
# path('auth/', include('djoser.urls.jwt')),
|
||||
|
||||
path('home', HomeView.as_view()),
|
||||
path('token/', CustomTokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('token', CustomTokenObtainPairView.as_view(), name='token_obtain_pair'),
|
||||
path('token/refresh', TokenRefreshView.as_view(), name='token_refresh'),
|
||||
path('admin/', FakeAdminLoginView.as_view()), # Fake admin
|
||||
path('secret-admin/', admin.site.urls), # Real admin
|
||||
path('schema/', SpectacularAPIView.as_view(), name='schema'),
|
||||
|
||||
Reference in New Issue
Block a user