Skip to content

Commit

Permalink
Ch26: Switch to dummy cache for development.
Browse files Browse the repository at this point in the history
  • Loading branch information
jambonrose committed Jul 30, 2015
1 parent 87488a0 commit eb97dee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions suorganizer/settings.py
Expand Up @@ -93,9 +93,7 @@

CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': 'unique-snowflake',
'TIMEOUT': 600, # seconds == 10 minutes
'BACKEND': 'django.core.cache.backends.dummy.DummyCache',
}
}
CACHE_MIDDLEWARE_ALIAS = 'default'
Expand Down

0 comments on commit eb97dee

Please sign in to comment.