diff options
author | luxagraf <sng@luxagraf.net> | 2024-02-25 16:43:51 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2024-02-25 16:43:51 -0600 |
commit | 164eee8075761c46add169fe5631f45f1ec8746d (patch) | |
tree | 59118b702104e356e301bb86e6a6edb060311931 /app/posts/views/film_views.py | |
parent | dfdfae5272f36f0b21ac895a880237a5c0e61f04 (diff) |
jrnl: re-arranged to make Range a repository for everything.
Diffstat (limited to 'app/posts/views/film_views.py')
-rw-r--r-- | app/posts/views/film_views.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/posts/views/film_views.py b/app/posts/views/film_views.py index 3122240..48bdaa4 100644 --- a/app/posts/views/film_views.py +++ b/app/posts/views/film_views.py @@ -1,6 +1,7 @@ from django.views.generic import ListView from django.views.generic.detail import DetailView from django.contrib.syndication.views import Feed +from django.urls import reverse from django.apps import apps from django.conf import settings @@ -43,6 +44,8 @@ class FilmDetailView(LuxDetailView): model = apps.get_model(obj.model_name.app_label, obj.model_name.model) related.append(model.objects.get(slug=obj.slug, pub_date=obj.pub_date)) context['related'] = related + context['breadcrumbs'] = ('Range',) + context['crumb_url'] = reverse('range:range-list') return context def get_template_names(self): |