Fixed problem with debug message arguments.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3897 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2006-10-09 05:55:04 +00:00
parent 8f91717c82
commit afd9b87711
1 changed files with 1 additions and 1 deletions

View File

@ -511,7 +511,7 @@ def syncdb(verbosity=1, interactive=True):
initial_sql = get_sql_initial_data_for_model(model) initial_sql = get_sql_initial_data_for_model(model)
if initial_sql: if initial_sql:
if verbosity >= 1: if verbosity >= 1:
print "Installing initial data for %s.%s model" % model._meta.object_name print "Installing initial data for %s.%s model" % (app_name, model._meta.object_name)
try: try:
for sql in initial_sql: for sql in initial_sql:
cursor.execute(sql) cursor.execute(sql)