summaryrefslogtreecommitdiff
path: root/app/jrnl
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-04-06 21:06:08 -0400
committerluxagraf <sng@luxagraf.net>2017-04-06 21:06:08 -0400
commit076f597921d87191b046c0851909cd1d521ac879 (patch)
tree22182e16c13bc363ca4c3cd87bde4450f28f5b97 /app/jrnl
parent135d003008e41cd7e9b206fde3ecc66ac6d9f203 (diff)
changed checkin in view to use latest
Diffstat (limited to 'app/jrnl')
-rw-r--r--app/jrnl/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/jrnl/views.py b/app/jrnl/views.py
index 5aa9d2b..bbeccca 100644
--- a/app/jrnl/views.py
+++ b/app/jrnl/views.py
@@ -101,7 +101,7 @@ class HomepageList(ListView):
# Call the base implementation first to get a context
context = super(HomepageList, self).get_context_data(**kwargs)
context['homepage'] = HomepageCurrator.objects.get(pk=1)
- context['location'] = CheckIn.objects.get(pk=1)
+ context['location'] = CheckIn.objects.latest()
context['IMAGES_URL'] = settings.IMAGES_URL
return context