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

Avoid N+1 problems in conflict formsets #2578

Merged
merged 1 commit into from
Feb 2, 2025
Merged

Avoid N+1 problems in conflict formsets #2578

merged 1 commit into from
Feb 2, 2025

Conversation

tienne-B
Copy link
Member

The conflict formsets were causing some N+1 problems as each individual field in each form was running a query. This commit subclasses the offending Django methods to avoid this inefficiency.

The conflict formsets were causing some N+1 problems as each individual
field in each form was running a query. This commit subclasses the
offending Django methods to avoid this inefficiency.
@tienne-B tienne-B merged commit 015fbe5 into develop Feb 2, 2025
3 of 4 checks passed
@tienne-B tienne-B deleted the n1-conflicts branch February 2, 2025 15:52
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