Skip to content

Commit f89b9c8

Browse files
committed
Fixed verbosity check in installing initial data
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
1 parent 0e57743 commit f89b9c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django/core/management.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,8 @@ def syncdb(verbosity=2, interactive=True):
501501
if model in created_models:
502502
initial_sql = get_sql_initial_data_for_model(model)
503503
if initial_sql:
504-
print "Installing initial data for %s model" % model._meta.object_name
504+
if verbosity >= 2:
505+
print "Installing initial data for %s model" % model._meta.object_name
505506
try:
506507
for sql in initial_sql:
507508
cursor.execute(sql)

0 commit comments

Comments
 (0)