10 lines
283 B
Python
10 lines
283 B
Python
from django.urls import path
|
|
|
|
from .views import PlaylistView, VideoView
|
|
|
|
|
|
urlpatterns = [
|
|
path('', PlaylistView.as_view(), name="home"),
|
|
path('video/<slug:pk>/', VideoView.as_view(), name="video"),
|
|
path('playlist/<slug:pk>/', PlaylistView.as_view(), name="playlist"),
|
|
]
|