Skip to content
Browse files

[multi-db] Fixed bug in manager.get_installed_models() that caused in…

…stalled models list to always have only one model.

git-svn-id: http://code.djangoproject.com/svn/django/branches/multiple-db-support@4126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 91d6569 commit 7e6d1365ba3c912b0582e291a5ae7d345f64abe3 @jpellerin jpellerin committed Nov 28, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/db/models/manager.py
View
4 django/db/models/manager.py
@@ -166,8 +166,8 @@ def get_installed_models(self, table_list):
for app in get_apps():
for model in get_models(app):
all_models.append(model)
- return set([m for m in all_models
- if m._meta.db_table in table_list])
+ return set([m for m in all_models
+ if m._meta.db_table in table_list])
def get_table_list(self):
"""Get list of tables accessible via my model's connection.

0 comments on commit 7e6d136

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