summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2012-08-16 00:09:39 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2012-08-16 00:09:39 -0700
commit71d07fb048849db5a0a3b1d81f87fae51c6097c0 (patch)
treee2b56ba16c092e31c20cbba9c22338b38394bac1
parentbefa1dd7a5f88bcf994598c36438338109478409 (diff)
parent4412de5d8d5be6fa9b9a3c0a0881ed741dbe3569 (diff)
Merge pull request #273 from dmishe/py3_introspection_regression
[py3] Fixed installed_models filtering.
-rw-r--r--django/db/backends/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/backends/__init__.py b/django/db/backends/__init__.py
index 77033390eb..c7682a546b 100644
--- a/django/db/backends/__init__.py
+++ b/django/db/backends/__init__.py
@@ -991,7 +991,7 @@ class BaseDatabaseIntrospection(object):
for model in models.get_models(app):
if router.allow_syncdb(self.connection.alias, model):
all_models.append(model)
- tables = map(self.table_name_converter, tables)
+ tables = list(map(self.table_name_converter, tables))
return set([
m for m in all_models
if self.table_name_converter(m._meta.db_table) in tables