This commit adds a lot of files, but most of them have no impact on any other code. The thrust here is to start creating chart pages showing which tracks and artists were most played for various time periods. Lots still not working, but we're getting there.
22 lines
539 B
Python
22 lines
539 B
Python
from django.urls import path
|
|
from videos import views
|
|
|
|
app_name = 'videos'
|
|
|
|
|
|
urlpatterns = [
|
|
# path('', views.scrobble_endpoint, name='scrobble-list'),
|
|
path("movies/", views.MovieListView.as_view(), name='movie_list'),
|
|
path('series/', views.SeriesListView.as_view(), name='series_list'),
|
|
path(
|
|
'series/<slug:slug>/',
|
|
views.SeriesDetailView.as_view(),
|
|
name='series_detail',
|
|
),
|
|
path(
|
|
'video/<slug:slug>/',
|
|
views.VideoDetailView.as_view(),
|
|
name='video_detail',
|
|
),
|
|
]
|