Files
Hulumath-Web/backend/content/urls.py
T
Jacky 1f98f7152d
CI / test (push) Failing after 1m31s
v0.2 Preview: Construction Plan.
2026-08-08 21:25:27 +08:00

19 lines
570 B
Python

from django.urls import path
from .views import (
ContentDetailView,
ContentListView,
FavoriteView,
VideoCatalogView,
VideoCompleteView,
)
urlpatterns = [
path("", ContentListView.as_view(), name="content-list"),
path("videos/catalog/", VideoCatalogView.as_view(), name="video-catalog"),
path("<slug:slug>/", ContentDetailView.as_view(), name="content-detail"),
path("<slug:slug>/favorite/", FavoriteView.as_view(), name="content-favorite"),
path("<slug:slug>/complete/", VideoCompleteView.as_view(), name="video-complete"),
]