Rework cache backend definition in settings.py so we don't have to modify a versionned file in production to enable memcached