StudE-Backend/stude/subjects/urls.py

9 lines
310 B
Python
Raw Permalink Normal View History

2023-06-27 18:15:31 +08:00
from django.urls import include, path
from .views import SubjectByYearSemesterView, SubjectListView
from rest_framework import routers
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()),
]