mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-01-19 07:03:01 +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()),
|
|
]
|