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
1 changed files with 2 additions and 0 deletions

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',