Ticket #8053: patch.diff
File patch.diff, 532 bytes (added by , 16 years ago) |
---|
-
sql.py
181 181 for model in app_models: 182 182 opts = model._meta 183 183 for f in opts.local_many_to_many: 184 if isinstance(f.rel, generic.GenericRel):184 if not f.creates_table: 185 185 continue 186 186 if cursor and table_name_converter(f.m2m_db_table()) in table_names: 187 187 output.append("%s %s;" % (style.SQL_KEYWORD('DROP TABLE'),