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.
17 lines
764 B
17 lines
764 B
from django.urls import path
|
|
from .views import *
|
|
|
|
app_name = 'article'
|
|
|
|
urlpatterns = [
|
|
path('categories/', ArticleCategoryListAPIView.as_view(), name='category-list'),
|
|
path('pinned-collections/', PinnedArticleCollectionListView.as_view(), name='pinned-collection-list'),
|
|
path('collections/', MiddleArticleCollectionListView.as_view(), name='collection-list'),
|
|
|
|
path('list/', ArticleListAPIView.as_view(), name='podcast-list'),
|
|
path('detail/<slug:slug>/', ArticleDetailAPIView.as_view(), name='podcast-detail'),
|
|
|
|
# # User playlist endpoints
|
|
# path('user-playlist/', UserPlaylistCreateAPIView.as_view(), name='user-playlist-create'),
|
|
# path('user-playlist/list/', UserPlaylistListAPIView.as_view(), name='user-playlist-list'),
|
|
]
|