Skip to content

Commit

Permalink
Merge pull request #25 from resum-ai/feat/login
Browse files Browse the repository at this point in the history
fix: urls 및 views 수정
  • Loading branch information
yjoonjang authored Mar 26, 2024
2 parents 0eeb95a + 9ea516e commit ba3f078
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions accounts/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
4 changes: 2 additions & 2 deletions resumai/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 관련
Expand Down

0 comments on commit ba3f078

Please sign in to comment.