diff --git a/accounts/views.py b/accounts/views.py index f97a83f..f69104b 100644 --- a/accounts/views.py +++ b/accounts/views.py @@ -112,6 +112,7 @@ def kakao_callback(request): logger.warning(f"accept: {accept}") logger.warning(f"accept.reason: {accept.reason}") logger.warning(f"accept.history: {accept.history}") + logger.warning(accept.content) accept_status = accept.status_code logger.warning(accept_status) diff --git a/resumai/settings/base.py b/resumai/settings/base.py index 3307dc7..7c025ed 100644 --- a/resumai/settings/base.py +++ b/resumai/settings/base.py @@ -55,7 +55,7 @@ "django.middleware.security.SecurityMiddleware", "django.contrib.sessions.middleware.SessionMiddleware", "django.middleware.common.CommonMiddleware", - "django.middleware.csrf.CsrfViewMiddleware", + # "django.middleware.csrf.CsrfViewMiddleware", "django.contrib.auth.middleware.AuthenticationMiddleware", "django.contrib.messages.middleware.MessageMiddleware", "django.middleware.clickjacking.XFrameOptionsMiddleware",