@@ -0,0 +1,18 @@
|
||||
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"),
|
||||
]
|
||||
Reference in New Issue
Block a user