Enable session caching for somewhat improved performance

This commit is contained in:
Danielle McLean 2017-10-24 21:17:38 +11:00
parent 501c91bd12
commit 1aed52b75f
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -85,6 +85,8 @@ MIDDLEWARE = [
ROOT_URLCONF = 'lemoncurry.urls' ROOT_URLCONF = 'lemoncurry.urls'
SESSION_ENGINE = 'django.contrib.sessions.backends.cached_db'
TEMPLATES = [ TEMPLATES = [
{ {
'BACKEND': 'django.template.backends.django.DjangoTemplates', 'BACKEND': 'django.template.backends.django.DjangoTemplates',