Closes #21419: Improve query efficiency for MultipleChoiceFilter #363

Closed
opened 2026-04-05 16:27:25 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @jeremystretch on 2/12/2026

Closes: #21419

Pass distinct=False to

  • All MultipleChoiceFilters associated with a concrete model field
  • All ModelMultipleChoiceFilters associated with a ForeignKey field

There may exist additional opportunities for performance improvements, but I want to keep the scope of this initial work limited as the changes are quite broad.

*Originally created by @jeremystretch on 2/12/2026* ### Closes: #21419 Pass `distinct=False` to * All MultipleChoiceFilters associated with a concrete model field * All ModelMultipleChoiceFilters associated with a ForeignKey field There may exist additional opportunities for performance improvements, but I want to keep the scope of this initial work limited as the changes are quite broad.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/netbox#363