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

Django 5.1+ compatibility for PolymorphicQuerySet._process_aggregate_args() #629

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

LeGast00n
Copy link

Since Django v5.1, django.db.models.Aggregate.get_source_expressions() can have None as item in the returned list, causing the final assert to fail.

LeGast00n and others added 2 commits March 16, 2025 12:28
Since Django v5.1, django.db.models.Aggregate.get_source_expressions() can have None as item in the returned list, causing the final assert to fail
@LeGast00n LeGast00n changed the title Django 5.1+ compatibility for Query._process_aggregate_args() Django 5.1+ compatibility for PolymorphicQuerySet._process_aggregate_args() Mar 16, 2025
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