From 17e5c2c1b4d35b91bd36a7ef8412e8f1bc9e6a06 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Thu, 12 Jul 2018 21:00:52 +1000 Subject: [PATCH] Remove calls to as_meta since the info is ignored anyway - gives a decent performance boost :o --- entries/views/perma.py | 1 - home/views.py | 1 - 2 files changed, 2 deletions(-) diff --git a/entries/views/perma.py b/entries/views/perma.py index 345f5c7..bb4fbc9 100644 --- a/entries/views/perma.py +++ b/entries/views/perma.py @@ -11,5 +11,4 @@ def entry(request, kind, id, slug=None): return { 'entry': entry, 'title': entry.title, - 'meta': entry.as_meta(request) } diff --git a/home/views.py b/home/views.py index d5ddea0..056f6ef 100644 --- a/home/views.py +++ b/home/views.py @@ -29,7 +29,6 @@ def index(request, page=None): 'entries': entries, 'atom': reverse('entries:atom'), 'rss': reverse('entries:rss'), - 'meta': user.as_meta(request), }