mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
10 lines
447 B
Python
10 lines
447 B
Python
from django.urls import include, path
|
|
from .views import SubjectByCourseView, SubjectByCourseYearSemesterView, SubjectListView, SubjectListAllView
|
|
urlpatterns = [
|
|
path('', SubjectListView.as_view()),
|
|
path('all', SubjectListAllView.as_view()),
|
|
path('<slug:course_slug>',
|
|
SubjectByCourseView.as_view()),
|
|
path('<slug:course_slug>/<slug:year_slug>/<slug:semester_slug>',
|
|
SubjectByCourseYearSemesterView.as_view()),
|
|
]
|