mozilla/socorro-crashstats — pull request #61 by peterbe (2012-08-23 21:50:38+00:00)
Title: Tighten cache settings

This kinda sucks but with this change `settings/local.py-dist` is now geared towards *developers* as opposed to *deployers*.

LocMemCache should be used when running tests and we can't control that by using `settings_test.py` because before `test_utils` does its magic, `django.core.cache.cache` has already been configured and set up from `settings.CACHES`.

The problem was that if you didn't put `LocMemCache` in `settings/local.py` **and** you don't have `memcached` running on `127.0.0.1:11211` you would get bizarre errors. @rhelmer, @Lonnen and @brandonsavage have all managed to see these errors.