diff options
| author | Ian Kelly <ian.g.kelly@gmail.com> | 2008-12-02 16:59:39 +0000 |
|---|---|---|
| committer | Ian Kelly <ian.g.kelly@gmail.com> | 2008-12-02 16:59:39 +0000 |
| commit | 4c7efda28ff2e382efc92cdfc83cd8d9272c6a34 (patch) | |
| tree | b5cfcb1ac76aae720142d7ebf2f70ed92fc3e750 /django/db/backends | |
| parent | af6b7cdc6332299d04d90154123afc6ac6bc5ec9 (diff) | |
[1.0.X] Fixed a pair of bugs in determining the set of models to flush that were causing test cause failures in Oracle after [9536].
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9547 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/backends')
| -rw-r--r-- | django/db/backends/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py index 9eb9729ea7..353eb39488 100644 --- a/django/db/backends/__init__.py +++ b/django/db/backends/__init__.py @@ -404,7 +404,7 @@ class BaseDatabaseIntrospection(object): tables.add(model._meta.db_table) tables.update([f.m2m_db_table() for f in model._meta.local_many_to_many]) if only_existing: - tables = [t for t in tables if t in self.table_names()] + tables = [t for t in tables if self.table_name_converter(t) in self.table_names()] return tables def installed_models(self, tables): |
