Fixed #23384 -- Allowed overriding part of a dictionary-type setting

This change is needed for upcoming changes where settings might be
grouped in a parent dictionary.
still necessary? or more simply: `if settings.MIGRATION_MODULES.get('app_label')`?