mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2024-11-17 06:19:24 +08:00
8 lines
322 B
Python
8 lines
322 B
Python
from django.urls import include, path
|
|
from .views import SubjectByCourseYearSemesterView, SubjectListView
|
|
from rest_framework import routers
|
|
urlpatterns = [
|
|
path('', SubjectListView.as_view()),
|
|
path('<slug:course_slug>/<slug:year_slug>/<slug:semester_slug>',
|
|
SubjectByCourseYearSemesterView.as_view()),
|
|
]
|