Skip to content
Browse files

[py3] Fixed installed_models filtering.

  • Loading branch information...
1 parent befa1dd commit 4412de5d8d5be6fa9b9a3c0a0881ed741dbe3569 @dmishe dmishe committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/db/backends/
2 django/db/backends/
@@ -991,7 +991,7 @@ def installed_models(self, tables):
for model in models.get_models(app):
if router.allow_syncdb(self.connection.alias, 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

0 comments on commit 4412de5

Please sign in to comment.
Something went wrong with that request. Please try again.