From f641dc3f9d7854b3ea954a0c843a7df3d529f55f Mon Sep 17 00:00:00 2001 From: j Date: Sun, 21 Nov 2021 10:38:11 +0100 Subject: [PATCH] add timeline --- app/templates/base.html | 2 +- app/templates/films.html | 3 +++ app/urls.py | 6 +++--- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/app/templates/base.html b/app/templates/base.html index 00456bd..b726938 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -19,7 +19,7 @@ diff --git a/app/templates/films.html b/app/templates/films.html index 7dd0f7e..387fd39 100644 --- a/app/templates/films.html +++ b/app/templates/films.html @@ -33,6 +33,9 @@ {% endfor %} +
+ +
{{ film.data.title | safe }}
diff --git a/app/urls.py b/app/urls.py index 1db446a..24bdb8d 100755 --- a/app/urls.py +++ b/app/urls.py @@ -24,9 +24,9 @@ from .contact.views import index as contact urlpatterns = [ path('admin/', admin.site.urls), #path('pandoraAPI/', video.pandoraAPI, name='pandoraAPI'), - path(settings.URL_PREFIX + 'films/', video.films, name='films'), - path(settings.URL_PREFIX + 'film//play/', video.film_play, name='film_play'), - path(settings.URL_PREFIX + 'film//', video.film, name='film'), + path(settings.URL_PREFIX + 'videos/', video.films, name='films'), + path(settings.URL_PREFIX + 'video//play/', video.film_play, name='film_play'), + path(settings.URL_PREFIX + 'video//', video.film, name='film'), path(settings.URL_PREFIX + 'edits/', video.edits, name='edits'), path(settings.URL_PREFIX + 'edit//play/', video.edit_play, name='edit_play'), path(settings.URL_PREFIX + 'edit//', video.edit, name='edit'),