diff --git a/accounts/urls.py b/accounts/urls.py index 3687ea6..569bb27 100644 --- a/accounts/urls.py +++ b/accounts/urls.py @@ -3,12 +3,12 @@ # TODO swagger에 뜨는 api 관리 urlpatterns = [ - path("/kakao", views.kakao_login, name="kakao_login"), + path("kakao", views.kakao_login, name="kakao_login"), path( - "/kakao/login", + "kakao/login", views.KakaoLoginView.as_view(), name="kakao_login_todjango", ), - path("/update", views.UpdateUserInfoView.as_view(), name="update_user_info"), - path("/user/me", views.GetUserInfoView.as_view(), name="get_user_info"), + path("update", views.UpdateUserInfoView.as_view(), name="update_user_info"), + path("user/me", views.GetUserInfoView.as_view(), name="get_user_info"), ] diff --git a/memos/urls.py b/memos/urls.py index b06b164..d91bddf 100644 --- a/memos/urls.py +++ b/memos/urls.py @@ -4,9 +4,9 @@ urlpatterns = [ path("", views.PostMemoView.as_view(), name="post_memo"), - path("/all", views.GetAllMemoView.as_view(), name="get_all_memos"), - path("/", views.GetMemoDetailView.as_view(), name="memo-detail"), - path("/update/", views.UpdateMemoView.as_view(), name="scrap-memo"), - path("/delete/", views.DeleteMemoView.as_view(), name="delete-memo"), - path("/search", views.SearchMemoView.as_view(), name="search-memo"), + path("all", views.GetAllMemoView.as_view(), name="get_all_memos"), + path("", views.GetMemoDetailView.as_view(), name="memo-detail"), + path("update/", views.UpdateMemoView.as_view(), name="scrap-memo"), + path("delete/", views.DeleteMemoView.as_view(), name="delete-memo"), + path("search", views.SearchMemoView.as_view(), name="search-memo"), ] diff --git a/resumai/urls.py b/resumai/urls.py index f0858c8..ef1fff7 100644 --- a/resumai/urls.py +++ b/resumai/urls.py @@ -36,10 +36,10 @@ def preprocessing_filter_spec(endpoints): urlpatterns = [ path("", kakao_login_page, name="home"), path("admin/", admin.site.urls), - path("accounts", include("accounts.urls")), + path("accounts/", include("accounts.urls")), path("registration/", include("dj_rest_auth.registration.urls")), - path("memos", include("memos.urls")), - path("resume", include("resume.urls")), + path("memos/", include("memos.urls")), + path("resume/", include("resume.urls")), # swagger 관련 path("api/schema/", SpectacularAPIView.as_view(), name="schema"), path( diff --git a/resume/urls.py b/resume/urls.py index ee1715f..023ef67 100644 --- a/resume/urls.py +++ b/resume/urls.py @@ -3,18 +3,18 @@ urlpatterns = [ - path("/all", views.GetAllResumeView.as_view(), name="get_all_resume"), - path("/guidelines", views.GetGuidelinesView.as_view(), name="get_guidelines"), - path("/generate", views.GenerateResumeView.as_view(), name="generate_resume"), + path("all", views.GetAllResumeView.as_view(), name="get_all_resume"), + path("guidelines", views.GetGuidelinesView.as_view(), name="get_guidelines"), + path("generate", views.GenerateResumeView.as_view(), name="generate_resume"), # path("", views.PostResumeView.as_view(), name="post_resume"), - path("/update/", views.UpdateResumeView.as_view(), name="update_resume"), - path("/scrap/", views.ScrapResumeView.as_view(), name="scrap_resume"), - path("//chat", views.ChatView.as_view(), name="chat"), - path("/", views.GetResumeView.as_view(), name="update_resume"), + path("update/", views.UpdateResumeView.as_view(), name="update_resume"), + path("scrap/", views.ScrapResumeView.as_view(), name="scrap_resume"), + path("/chat", views.ChatView.as_view(), name="chat"), + path("", views.GetResumeView.as_view(), name="update_resume"), path( - "//chatHistory", + "/chatHistory", views.GetChatHistoryView.as_view(), name="get_chat_history", ), - path("/delete/", views.DeleteResumeView.as_view(), name="delete_resume"), + path("delete/", views.DeleteResumeView.as_view(), name="delete_resume"), ]