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:
parent
8f91717c82
commit
afd9b87711
|
@ -511,7 +511,7 @@ def syncdb(verbosity=1, interactive=True):
|
|||
initial_sql = get_sql_initial_data_for_model(model)
|
||||
if initial_sql:
|
||||
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:
|
||||
for sql in initial_sql:
|
||||
cursor.execute(sql)
|
||||
|
|
Loading…
Reference in New Issue