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()), path('login/', LoginAPIView.as_view()), path('check/', NicknameAPIView.as_view()), 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)), ]