-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #97 from JongbeomLee623/feature/ljb-manager-mk2
🐛 Fix: manager/booth serializer 수정 및 프로젝트 urls.py trailing slash 삭제
- Loading branch information
Showing
4 changed files
with
16 additions
and
8 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,18 @@ | ||
from django.urls import path, include | ||
from .views import * | ||
from dj_rest_auth.views import LoginView, LogoutView | ||
|
||
app_name = 'accounts' | ||
|
||
urlpatterns = [ | ||
# 일반 로그인 / 회원가입 | ||
path('dj-rest-auth/', include('dj_rest_auth.urls')), | ||
path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')), | ||
path('allauth/', include('allauth.urls')), | ||
path('accounts/login', LoginView.as_view(), name='login'), | ||
path('accounts/logout', LogoutView.as_view(), name='logout'), | ||
path('accounts/registration', include('dj_rest_auth.registration.urls')), | ||
# path('dj-rest-auth/', include('dj_rest_auth.urls')), | ||
# path('dj-rest-auth/registration/', include('dj_rest_auth.registration.urls')), | ||
# path('allauth/', include('allauth.urls')), | ||
|
||
# 회원 탈퇴 | ||
path('accounts/withdraw/', WithdrawUserView.as_view(), name='withdraw'), | ||
path('accounts/withdraw', WithdrawUserView.as_view(), name='withdraw'), | ||
] |
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
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