From ca63f4798fe683d5233aa062ffd2469e9278f355 Mon Sep 17 00:00:00 2001 From: sm4640 Date: Fri, 2 May 2025 18:24:15 +0900 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Feat:=20[#41]=20=EC=9C=A0=EC=A0=80?= =?UTF-8?q?=20=EB=A7=88=EC=9D=B4=ED=8E=98=EC=9D=B4=EC=A7=80=20=EA=B8=B0?= =?UTF-8?q?=EB=8A=A5=20url=20=EC=84=A4=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- users/urls.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/users/urls.py b/users/urls.py index 5cb23f5..a73f9a1 100644 --- a/users/urls.py +++ b/users/urls.py @@ -1,9 +1,14 @@ -from django.urls import path +from django.urls import path, include from .views import * +from rest_framework.routers import DefaultRouter + app_name = 'users' +router = DefaultRouter() +router.register(r'notifications', NotificationReadViewSet, basename='notification') + urlpatterns = [ path('refresh-token/', RefreshAPIView.as_view()), path('join/', JoinAPIView.as_view()), @@ -12,4 +17,8 @@ urlpatterns = [ path('portfolio-info/', SetPortofolioRequiredInfoAPIView.as_view()), path('portfolio-info/check/', SetPortofolioRequiredInfoAPIView.as_view()), path('teamtag/', TagUserAPIView.as_view()), + path('mypage/profile//', MyPageProfileAPIView.as_view()), + path('mypage/works//', MyPageWorkListAPIView.as_view()), + path('mypage/my-info/', MyPageMemberInfoAPIView.as_view()), + path('', include(router.urls)), ] \ No newline at end of file