#21524: Annotation and .extra with group function breaks at database level -------------------------------------+------------------------------------- Reporter: eu@… | Owner: nobody Type: Uncategorized | Status: new Component: Database layer | Version: 1.4 (models, ORM) | Resolution: Severity: Normal | Triage Stage: Keywords: oracle | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by eu@…):
* needs_better_patch: => 0 * needs_tests: => 0 * needs_docs: => 0 Comment: This "validation" also must happens at line 114: {{{#!python if not self.connection.features.allows_group_by_pk: for col, col_params in ordering_group_by: if col not in grouping: if 'avg(' in col.lower() or 'sum(' in col.lower(): continue }}} -- Ticket URL: <https://code.djangoproject.com/ticket/21524#comment:1> 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/074.f98631a67e7ddb0e8d2d67039f92914c%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.