Ticket #12286: 12286-r12948.diff
File 12286-r12948.diff, 681 bytes (added by , 15 years ago) |
---|
-
django/core/management/commands/syncdb.py
diff -r 0dd8399ce9b7 django/core/management/commands/syncdb.py
a b 92 92 print "Creating table %s" % model._meta.db_table 93 93 for statement in sql: 94 94 cursor.execute(statement) 95 tables.append(connection.introspection.table_name_converter(model._meta.db_table)) 95 if sql: 96 tables.append(connection.introspection.table_name_converter(model._meta.db_table)) 96 97 97 98 98 99 transaction.commit_unless_managed(using=db)