Permalink
Browse files

Fixed verbosity check in installing initial data

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3676 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 0e57743 commit f89b9c8654bb386cfcc29cccab7766c4be376fce @jacobian jacobian committed Aug 28, 2006
Showing with 2 additions and 1 deletion.
  1. +2 −1 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)

0 comments on commit f89b9c8

Please sign in to comment.