From f89b9c8654bb386cfcc29cccab7766c4be376fce Mon Sep 17 00:00:00 2001 From: Jacob Kaplan-Moss Date: Mon, 28 Aug 2006 20:44:35 +0000 Subject: [PATCH] Fixed verbosity check in installing initial data git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/core/management.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/django/core/management.py b/django/core/management.py index 51c8c760d5..799ec30d2c 100644 --- a/django/core/management.py +++ b/django/core/management.py @@ -501,7 +501,8 @@ def syncdb(verbosity=2, interactive=True): if model in created_models: initial_sql = get_sql_initial_data_for_model(model) if initial_sql: - print "Installing initial data for %s model" % model._meta.object_name + if verbosity >= 2: + print "Installing initial data for %s model" % model._meta.object_name try: for sql in initial_sql: cursor.execute(sql)