Browse Source

Remove calls to as_meta since the info is ignored anyway - gives a decent performance boost :o

tags/v1.10.1
Danielle McLean 2 years ago
parent
commit
17e5c2c1b4
Signed by: 00dani <dani@00dani.me> GPG Key ID: 8EB789DDF3ABD240
2 changed files with 0 additions and 2 deletions
  1. +0
    -1
      entries/views/perma.py
  2. +0
    -1
      home/views.py

+ 0
- 1
entries/views/perma.py View File

@@ -11,5 +11,4 @@ def entry(request, kind, id, slug=None):
return {
'entry': entry,
'title': entry.title,
'meta': entry.as_meta(request)
}

+ 0
- 1
home/views.py View File

@@ -29,7 +29,6 @@ def index(request, page=None):
'entries': entries,
'atom': reverse('entries:atom'),
'rss': reverse('entries:rss'),
'meta': user.as_meta(request),
}




Loading…
Cancel
Save