from django.urls import include, path from .views import SubjectListView from .views import SubjectByYearSemesterView, SubjectByYearView urlpatterns = [ path('', SubjectListView.as_view()), path('/', SubjectByYearView.as_view()), path('/', SubjectByYearSemesterView.as_view()), ]