Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[py3] Fixed installed_models filtering.

  • Loading branch information...
commit 4412de5d8d5be6fa9b9a3c0a0881ed741dbe3569 1 parent befa1dd
@dmishe dmishe 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.