Moved warning to signal setting_changed. This causes the warning to appear twice.
Added an additional argument to distinct between entering and leaving the override_settings decorator/context. The warning for complex settings is now printed ony once.