Skip to content

Commit 4f63200

Browse files
committed
fix: change id-login urls
1 parent c90319c commit 4f63200

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

account/urls.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
urlpatterns = [
88
path("auth/", include("dj_rest_auth.urls")),
9-
path("account/login/", IdLogin.as_view(), name='account_login'),
10-
path("account/email/", IdLogin.as_view(), name='account_email'),
11-
path("account/logout/", Logout.as_view(), name='account_logout'),
12-
path("account/signup/", IdLogin.as_view(), name="account_signup"),
9+
path("accounts/login/", IdLogin.as_view(), name='account_login'),
10+
path("accounts/email/", IdLogin.as_view(), name='account_email'),
11+
path("accounts/logout/", Logout.as_view(), name='account_logout'),
12+
path("accounts/signup/", IdLogin.as_view(), name="account_signup"),
1313
path("auth/github/login/", GitHubLogin.as_view(), name="github_login"),
1414
path("auth/google/login/", GoogleLogin.as_view(), name="google_login"),
1515
#path("my-page/payments", MyPage.as_view())

pyconkr/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,4 +235,4 @@
235235

236236
# login_required view에 로그인 되지 않은 상태로 접속할 경우 리다이렉트할 로그인 페이지를 설정합니다.
237237
# The URL or named URL pattern where requests are redirected for login when using the login_required() decorator
238-
LOGIN_URL = '/account/login/'
238+
LOGIN_URL = '/accounts/login/'

0 commit comments

Comments
 (0)