Skip to content

Commit

Permalink
added courses to urls
Browse files Browse the repository at this point in the history
  • Loading branch information
ReinhardDP committed Mar 9, 2024
1 parent d30a0aa commit 470806c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/pigeonhole/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from rest_framework import routers, permissions

from backend.testapi import views as test_views
from backend.pigeonhole.apps.courses.views import CourseViewSet
#from backend.pigeonhole.apps.projects import views as project_views
from drf_yasg.views import get_schema_view
from drf_yasg import openapi
Expand All @@ -22,6 +23,7 @@
router = routers.DefaultRouter()
router.register(r'users', test_views.UserViewSet)
router.register(r'groups', test_views.GroupViewSet)
router.register(r'courses', CourseViewSet)
#router.register(r'projects', project_views.ProjectAPIView)

# Wire up our API using automatic URL routing.
Expand Down

0 comments on commit 470806c

Please sign in to comment.