Moved year level endpoints to schedules

This commit is contained in:
Keannu Christian Bernasol 2023-04-22 15:31:58 +08:00
parent d365284fad
commit 97f8f6b9bc
6 changed files with 55 additions and 8 deletions

View file

@ -8,8 +8,4 @@ router.register(r'subjects', views.SubjectViewSet)
# Additionally, we include login URLs for the browsable API.
urlpatterns = [
path('', include(router.urls)),
path('first_year_subjects/', views.FirstYearSubjectViewSet.as_view()),
path('second_year_subjects/', views.SecondYearSubjectViewSet.as_view()),
path('third_year_subjects/', views.ThirdYearSubjectViewSet.as_view()),
path('fourth_year_subjects/', views.FourthYearSubjectViewSet.as_view()),
]