Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[admin] Fix performance issues by using raw_id_fields for the headquarter field #4

Merged
merged 5 commits into from
Feb 3, 2022

Conversation

mmoriniere
Copy link
Contributor

We face some trouble accessing the edit view for django_sirene Institutions.
This is due to the fact that the headquarter field had to load all the institutions of our database.
By making this a raw id field should limit those performance issues.

@mmoriniere mmoriniere merged commit 5e80fb0 into master Feb 3, 2022
@mmoriniere mmoriniere deleted the use-raw-id-fields branch February 3, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant