mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 14:29:25 +08:00
11 lines
363 B
Python
11 lines
363 B
Python
from django.urls import include, path
|
|
from .views import SubjectListView
|
|
from .views import SubjectByYearSemesterView, SubjectByYearView
|
|
|
|
urlpatterns = [
|
|
path('', SubjectListView.as_view()),
|
|
path('<slug:year_slug>/',
|
|
SubjectByYearView.as_view()),
|
|
path('<slug:year_slug>/<slug:semester_slug>',
|
|
SubjectByYearSemesterView.as_view()),
|
|
]
|