summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2017-04-06 21:18:35 -0400
committerluxagraf <sng@luxagraf.net>2017-04-06 21:18:35 -0400
commite45966ca6f2418a0af4e6273d325b5d5d853f566 (patch)
tree152435ea6d23b54cd99be6234545941a20cf063a /app
parent076f597921d87191b046c0851909cd1d521ac879 (diff)
changed latest to last
Diffstat (limited to 'app')
-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 bbeccca..1e80c6b 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.latest()
+ context['location'] = CheckIn.objects.last()
context['IMAGES_URL'] = settings.IMAGES_URL
return context