from django.urls import include, path from .views import SubjectByCourseYearSemesterView, SubjectListView from rest_framework import routers urlpatterns = [ path('', SubjectListView.as_view()), path('//', SubjectByCourseYearSemesterView.as_view()), ]