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.
14 lines
523 B
14 lines
523 B
from django.urls import path
|
|
from .views import *
|
|
|
|
app_name = 'video'
|
|
|
|
urlpatterns = [
|
|
path('categories/', VideoCategoryListAPIView.as_view(), name='category-list'),
|
|
path('pinned-collections/', PinnedVideoCollectionListView.as_view(), name='pinned-collection-list'),
|
|
path('collections/', MiddleVideoCollectionListView.as_view(), name='collection-list'),
|
|
|
|
path('list/', VideoListAPIView.as_view(), name='video-list'),
|
|
|
|
path('detail/<slug:slug>/', VideoDetailAPIView.as_view(), name='video-detail'),
|
|
]
|