remove token slash

This commit is contained in:
Parsa Nazer
2025-02-22 20:11:00 +03:30
parent a71213b148
commit fb62350fbf
+2 -2
View File
@@ -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'),