8000 Refs #36507 -- Documented prefetch_related behavior in union. by camuthig · Pull Request #19929 · django/django · GitHub
[go: up one dir, main page]

Skip to content

Conversation

camuthig
Copy link
Contributor
@camuthig camuthig commented Oct 8, 2025

Trac ticket number

ticket-36507

Branch description

Documentation is added regarding the unique behaviors of Prefetch filters within union querysets, noting that only the filters from the first Prefetch are applied in the final SQL query.

This is an attempt at documenting conversations in a forum conversation .

Screenshot 2025-10-07 at 9 44 04 PM

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

Copy link
github-actions bot commented Oct 8, 2025

Hello! Thank you for your contribution 💪

As it's your first contribution be sure to check out the patch review checklist.

If you're fixing a ticket from Trac make sure to set the "Has patch" flag and include a link to this PR in the ticket!

If you have any design or process questions then you can ask in the Django forum.

Welcome aboard ⛵️!

@camuthig camuthig force-pushed the 36507-document-union-prefetch branch from f5afe24 to 4235c25 Compare October 8, 2025 14:46
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

0