for model in return value of the method router.get_migratable_models with arguments app_config, connection.alias,
for model in router . get_migratable_models ( app_config , connection . alias , include_auto_created = True ) :