diff --git a/djangocms_installer/django/__init__.py b/djangocms_installer/django/__init__.py index 12fbff5..59f9b5b 100644 --- a/djangocms_installer/django/__init__.py +++ b/djangocms_installer/django/__init__.py @@ -272,7 +272,7 @@ def setup_database(config_data): subprocess.check_call([sys.executable, "-W", "ignore", "manage.py", "syncdb", "--noinput"]) print("south not installed, migrations skipped") - if not config_data.no_user: + if not config_data.no_user and not config_data.noinput: print("\n\nCreating admin user") subprocess.check_call([sys.executable, "-W", "ignore", "manage.py", "createsuperuser"])