Ticket #12286: syncdb_proxy_model.diff
File syncdb_proxy_model.diff, 791 bytes (added by , 14 years ago) |
---|
-
django/core/management/commands/syncdb.py
76 76 print "Creating table %s" % model._meta.db_table 77 77 for statement in sql: 78 78 cursor.execute(statement) 79 tables.append(connection.introspection.table_name_converter(model._meta.db_table)) 79 if sql: 80 tables.append(connection.introspection.table_name_converter(model._meta.db_table)) 80 81 81 82 # Create the m2m tables. This must be done after all tables have been created 82 83 # to ensure that all referred tables will exist.