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

Added output_field to SUM in summary operation #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Wyesumu
Copy link

@Wyesumu Wyesumu commented Nov 15, 2020

Calling Cart().summary() caused Django Aggregation - Expression contains mixed types. You must set output_field, so I added output_field to SUM in summary operation to prevent this error.

@hossein-shahsavan
Copy link

how can i use this for rest API ??

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.

2 participants