You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
528 B
15 lines
528 B
|
|
from django.urls import path
|
|
|
|
from . import views
|
|
|
|
|
|
|
|
urlpatterns = [
|
|
path('categories/', views.CourseCategoryAPIView.as_view(), name='course-categories'),
|
|
path('', views.CourseListAPIView.as_view(), name='course-list'),
|
|
path('<slug:slug>/', views.CourseDetailAPIView.as_view(), name='course-detail'),
|
|
path('<slug:slug>/attachments/', views.AttachmentListAPIView.as_view(), name='course-attachment-list'),
|
|
path('<slug:slug>/glossaries/', views.GlossaryListAPIView.as_view(), name='course-glossary-list'),
|
|
|
|
]
|