summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/jrnl/views.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/jrnl/views.py b/app/jrnl/views.py
index 70b6bf0..490fd39 100644
--- a/app/jrnl/views.py
+++ b/app/jrnl/views.py
@@ -126,10 +126,12 @@ class HomepageList(ListView):
class JrnlLatestView(EntryDetailView):
template_name = "details/entry_latest.html"
- def get_object(self):
+ def get_object(self, queryset=None):
obj = self.model.objects.latest()
+ self.location = obj.location
return obj
+
class JrnlRSSFeedView(Feed):
title = "Luxagraf: Topographical Writings"
link = "/jrnl/"