summaryrefslogtreecommitdiff
path: root/app/jrnl
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2019-02-08 15:08:18 -0600
committerluxagraf <sng@luxagraf.net>2019-02-08 15:08:18 -0600
commitb1658cf0a6ebeefd4c0d24132d8eba3f828dbd31 (patch)
treeef38fc839b65a896eb0927a2eb5285ae5efc4f35 /app/jrnl
parent36e78f6f7b9332eaab488de37371d9c733ce0c9d (diff)
fixed a bug in jrnl build for latest
Diffstat (limited to 'app/jrnl')
-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/"