nl: for model in router.get_migratable_models method return value, called with 3 arguments: app_config, connection.alias,
code: for model in router . get_migratable_models ( app_config , connection . alias , include_auto_created = True ) :