StudE-Backend/stude/subjects/urls.py

10 lines
263 B
Python
Raw Normal View History

2023-06-27 18:15:31 +08:00
from django.urls import include, path
from .views import SubjectListView
from .views import SubjectByYearSemesterView
urlpatterns = [
path('', SubjectListView.as_view()),
path('subjects/<str:year_slug>/',
SubjectByYearSemesterView.as_view()),
]