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