Enable session caching for somewhat improved performance
This commit is contained in:
parent
501c91bd12
commit
1aed52b75f
1 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||||
|
|
Loading…
Reference in a new issue