Commits

ja...@bcc190cf-cafb-0310-a4f2-bffc1f526a37  committed 180456b

Fixed verbosity check in installing initial data

  • Participants
  • Parent commits a866e2c

Comments (0)

Files changed (1)

File django/core/management.py

             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)