Skip to content
This repository has been archived by the owner on Apr 28, 2020. It is now read-only.

Replace load_models with ModelView #268

Open
jace opened this issue Oct 3, 2018 · 2 comments
Open

Replace load_models with ModelView #268

jace opened this issue Oct 3, 2018 · 2 comments
Assignees

Comments

@jace
Copy link
Member

jace commented Oct 3, 2018

Views that use load_models should be migrated to using the far more efficient ModelView. This applies (at least) to the organization management views, where querying by Organization.name generates a grossly inefficient query.

@jace jace self-assigned this Oct 3, 2018
@jace
Copy link
Member Author

jace commented Oct 3, 2018

Also applies to the Client model views.

@jace
Copy link
Member Author

jace commented Oct 5, 2018

Partially fixed in #270. Organizations are now converted. Clients are pending.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant