Feat: [#72] 깃허브 관련 기능 구현 완료

This commit is contained in:
sm4640
2025-07-16 00:14:04 +09:00
parent c2b4f75dcd
commit 873db8d894
7 changed files with 218 additions and 2 deletions

View File

@@ -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)),
]