mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
Removed caches since they are not used. Back to db based session storage. Re-added sessions backend.
This commit is contained in:
parent
984fcae343
commit
715be017dd
1 changed files with 2 additions and 8 deletions
|
@ -95,6 +95,8 @@ TEMPLATE_CONTEXT_PROCESSORS += (
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
|
'django.contrib.sessions',
|
||||||
|
|
||||||
'mptt',
|
'mptt',
|
||||||
'south',
|
'south',
|
||||||
'gunicorn',
|
'gunicorn',
|
||||||
|
@ -110,14 +112,6 @@ DATABASES = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CACHES = {
|
|
||||||
'default': {
|
|
||||||
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
|
|
||||||
|
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
# App specific settings
|
# App specific settings
|
||||||
#==============================================================================
|
#==============================================================================
|
||||||
|
|
Loading…
Reference in a new issue