2023-06-27 18:15:31 +08:00
|
|
|
from django.urls import include, path
|
2023-07-26 23:32:03 +08:00
|
|
|
from .views import SubjectByCourseView, SubjectByCourseYearSemesterView, SubjectListView, SubjectListAllView
|
2023-06-27 18:15:31 +08:00
|
|
|
urlpatterns = [
|
|
|
|
path('', SubjectListView.as_view()),
|
2023-07-26 23:32:03 +08:00
|
|
|
path('all', SubjectListAllView.as_view()),
|
2023-07-25 16:29:11 +08:00
|
|
|
path('<slug:course_slug>',
|
|
|
|
SubjectByCourseView.as_view()),
|
2023-07-17 21:23:27 +08:00
|
|
|
path('<slug:course_slug>/<slug:year_slug>/<slug:semester_slug>',
|
2023-07-24 01:47:01 +08:00
|
|
|
SubjectByCourseYearSemesterView.as_view()),
|
2023-06-27 18:15:31 +08:00
|
|
|
]
|