From 9ea516ec1b0c2a0966f237d9199ed6f94ceebad1 Mon Sep 17 00:00:00 2001 From: yjoonjang Date: Tue, 26 Mar 2024 18:45:23 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20urls=20=EB=B0=8F=20views=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- accounts/views.py | 1 + resumai/urls.py | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/accounts/views.py b/accounts/views.py index 5e441d8..04d1f10 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -56,6 +56,7 @@ def kakao_login(request): @permission_classes([AllowAny]) def kakao_callback(request): code = request.GET.get("code") + print(code) # Access Token Request token_req = requests.get( diff --git a/resumai/urls.py b/resumai/urls.py index b00c25a..e55954f 100644 --- a/resumai/urls.py +++ b/resumai/urls.py @@ -34,8 +34,8 @@ def preprocessing_filter_spec(endpoints): urlpatterns = [ path("", kakao_login_page, name="home"), path("admin/", admin.site.urls), - path("accounts/", include("dj_rest_auth.urls")), - path('accounts/', include('allauth.urls')), + # path("accounts/", include("dj_rest_auth.urls")), + # path('accounts/', include('allauth.urls')), path("accounts/", include("accounts.urls")), path("registration/", include("dj_rest_auth.registration.urls")), # swagger 관련