#11305: Support for "Conditional Aggregates" -------------------------------------+------------------------------------- Reporter: bendavis78 | Owner: Type: New feature | Status: new Component: Database layer | Version: master (models, ORM) | Resolution: Severity: Normal | Triage Stage: Keywords: aggregate, annotate | Someday/Maybe Has patch: 1 | Needs documentation: 1 Needs tests: 1 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by garrypolley): I think the idea that akaariai has is a good one. I'll continue to try and hack away at this, however, I don't think the current patch can be easily applied. There have been some bug fixes to aggregates that removed some stuff that the original patch was using. I'll keep the idea of Q, F expressions being what modify Sum, Avg, etc. I like this ticket, and need it, so I'll keep working on it. -- Ticket URL: <https://code.djangoproject.com/ticket/11305#comment:34> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/068.a6a08230f45e138ee6bc992d42a88233%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.