-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
♻️Refact : 사용자 로그인 API를 simplejwt TokenObtainPairView 로 변경 #3
- Loading branch information
1 parent
a4791ed
commit 678224a
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
from django.urls import path | ||
from rest_framework_simplejwt.views import TokenObtainPairView | ||
|
||
from users.views import SignInAPIView, SignUpAPIView | ||
from users.views import SignUpAPIView | ||
|
||
urlpatterns = [ | ||
path("signup/", view=SignUpAPIView.as_view(), name="signup"), | ||
path("signin/", view=SignInAPIView.as_view(), name="signin"), | ||
path("signin/", view=TokenObtainPairView.as_view(), name="signin"), | ||
] |