Fixing CachedLoader for Django 1.7