✨ Feat: [#72] 깃허브 관련 기능 구현 완료
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
from django.urls import path
|
||||
from django.urls import include, path
|
||||
|
||||
from .views import *
|
||||
|
||||
from rest_framework.routers import DefaultRouter
|
||||
|
||||
router = DefaultRouter(trailing_slash=True)
|
||||
router.register(r"action", GithubAPIViewSet, basename="github")
|
||||
|
||||
|
||||
app_name = 'users'
|
||||
|
||||
@@ -17,4 +22,5 @@ urlpatterns = [
|
||||
path('mypage/profile/<str:nickname>/', MyPageProfileAPIView.as_view()),
|
||||
path('mypage/works/<str:nickname>/', MyPageWorkListAPIView.as_view()),
|
||||
path('mypage/my-info/', MyPageMemberInfoAPIView.as_view()),
|
||||
path("github/", include(router.urls)),
|
||||
]
|
||||
Reference in New Issue
Block a user