Caching for Django models.