StudE-Backend/stude/subjects/urls.py

10 lines
294 B
Python
Raw Normal View History

2023-06-27 18:15:31 +08:00
from django.urls import include, path
from .views import SubjectListView
2023-07-17 21:23:27 +08:00
from .views import SubjectByYearSemesterView
2023-06-27 18:15:31 +08:00
urlpatterns = [
path('', SubjectListView.as_view()),
2023-07-17 21:23:27 +08:00
path('<slug:course_slug>/<slug:year_slug>/<slug:semester_slug>',
2023-06-27 18:15:31 +08:00
SubjectByYearSemesterView.as_view()),
]