Ticket #15216: django-set-object-has-no-attribute-append.patch
File django-set-object-has-no-attribute-append.patch, 515 bytes (added by , 14 years ago) |
---|
-
django/db/backends/__init__.py
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
a b class BaseDatabaseIntrospection(object): 645 645 continue 646 646 tables.add(model._meta.db_table) 647 647 tables.update([f.m2m_db_table() for f in model._meta.local_many_to_many]) 648 tables = list(tables) 648 649 if only_existing: 649 650 existing_tables = self.table_names() 650 651 tables = [