Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit f89b9c8654bb386cfcc29cccab7766c4be376fce 1 parent 0e57743
Jacob Kaplan-Moss jacobian authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/core/management.py
3  django/core/management.py
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.