Cache access to cache object

This commit is contained in:
Raphael Michel
2017-10-17 18:00:07 +02:00
parent 7e1e259897
commit 03133dc1fd
12 changed files with 115 additions and 23 deletions

View File

@@ -32,7 +32,7 @@ class IndexView(EventPermissionRequiredMixin, ChartContainingView, TemplateView)
except SubEvent.DoesNotExist:
pass
cache = self.request.event.get_cache()
cache = self.request.event.cache
ckey = str(subevent.pk) if subevent else 'all'
# Orders by day