✨ Feat: [#41] 유저 마이페이지 기능 url 설정
This commit is contained in:
@@ -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/<str:nickname>/', MyPageProfileAPIView.as_view()),
|
||||
path('mypage/works/<str:nickname>/', MyPageWorkListAPIView.as_view()),
|
||||
path('mypage/my-info/', MyPageMemberInfoAPIView.as_view()),
|
||||
path('', include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user