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

check_aggregate_support depecated #160

Open
MrSpockDe opened this issue Dec 15, 2024 · 0 comments
Open

check_aggregate_support depecated #160

MrSpockDe opened this issue Dec 15, 2024 · 0 comments

Comments

@MrSpockDe
Copy link

The function ckeck_aggregate_support is deprecated since Django 2.2. It is no longer called when preparing an SQL statement and therefore the Aggregate Function AVG on an Integer Filed returns a wrong value.

This function needs to be replaced by:

def check_expression_support(self, expression):

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

No branches or pull requests

1 participant