From fa3cf006b2912708e8c0b294cea91933cf35781f Mon Sep 17 00:00:00 2001 From: Nick Sandford Date: Wed, 23 Jul 2014 04:01:55 +0100 Subject: Fixed #23078 -- Regression in update_contenttypes() interactivity. Thanks raymond at adaptiv.nl for the report. --- django/contrib/contenttypes/management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'django') diff --git a/django/contrib/contenttypes/management.py b/django/contrib/contenttypes/management.py index 0159085d0b..f705330137 100644 --- a/django/contrib/contenttypes/management.py +++ b/django/contrib/contenttypes/management.py @@ -60,7 +60,7 @@ def update_contenttypes(app_config, verbosity=2, interactive=True, using=DEFAULT # Confirm that the content type is stale before deletion. if to_remove: - if kwargs.get('interactive', False): + if interactive: content_type_display = '\n'.join( ' %s | %s' % (ct.app_label, ct.model) for ct in to_remove -- cgit v1.3