Use `override_settings` instead.