Commit 8d249071 by Piotr Mitros

More hotfixes. One change: Default cache is in-memory again. This is easier for…

More hotfixes. One change: Default cache is in-memory again. This is easier for debugging, but syncdb wasn't creating the new cache
parent 37aa0531
...@@ -88,10 +88,17 @@ DATABASES = { ...@@ -88,10 +88,17 @@ DATABASES = {
DATABASE_ROUTERS = ['an_evt.router.DatabaseRouter'] DATABASE_ROUTERS = ['an_evt.router.DatabaseRouter']
# CACHES = {
# 'default': {
# 'BACKEND': 'django.core.cache.backends.db.DatabaseCache',
# 'LOCATION': 'django_cache'
# }
# }
CACHES = { CACHES = {
'default': { 'default': {
'BACKEND': 'django.core.cache.backends.db.DatabaseCache', 'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'django_cache' 'LOCATION': 'unique-snowflake'
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment