diff options
| author | Jacob Kaplan-Moss <jacob@jacobian.org> | 2006-08-28 20:44:35 +0000 |
|---|---|---|
| committer | Jacob Kaplan-Moss <jacob@jacobian.org> | 2006-08-28 20:44:35 +0000 |
| commit | f89b9c8654bb386cfcc29cccab7766c4be376fce (patch) | |
| tree | 9e2cc5bf258b8432dadf42b5635c96f0cb36af27 | |
| parent | 0e577430e9c0b0848774227932050db037ae4e75 (diff) | |
Fixed verbosity check in installing initial data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/core/management.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |
