how about applying the get_cache() change to the second occurrence on the line and adding :setting: to CACHES