Commit 2ca08226 authored by KreizerHgz's avatar KreizerHgz
Browse files

CS 72 refactored (dupe import)

parent 5e5faf59
......@@ -5,7 +5,6 @@ from rest_framework_simplejwt.views import (
from rest_framework.urlpatterns import format_suffix_patterns
# This is a bit messy and will need to change
urlpatterns = format_suffix_patterns(
......@@ -56,7 +55,8 @@ urlpatterns = format_suffix_patterns(
path("", include("users.urls")),
path("", include("comments.urls")),
path("api/auth/", include("rest_framework.urls")),
path("api/token/", TokenObtainPairView.as_view(), name="token_obtain_pair"),
path("api/token/", TokenObtainPairView.as_view(),
path("api/token/refresh/", TokenRefreshView.as_view(), name="token_refresh"),
path("api/remember_me/", views.RememberMe.as_view(), name="remember_me"),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment