Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #273 from dmishe/py3_introspection_regression

[py3] Fixed installed_models filtering.
  • Loading branch information...
commit 71d07fb048849db5a0a3b1d81f87fae51c6097c0 2 parents befa1dd + 4412de5
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/backends/__init__.py
View
2  django/db/backends/__init__.py
@@ -991,7 +991,7 @@ def installed_models(self, tables):
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
Please sign in to comment.
Something went wrong with that request. Please try again.