Changes between Initial Version and Version 1 of Ticket #30099, comment 6


Ignore:
Timestamp:
Jan 12, 2019, 11:17:22 AM (6 years ago)
Author:
Simon Charette

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #30099, comment 6

    initial v1  
    33Could you try setting `Subquery.contains_aggregate = False` and confirm it drops the outer `GROUP BY`?
    44
    5 Also, would you be interested in submitting a patch if it does fixes it? It should consist of setting this attribute and adding a test in [https://github.com/django/django/blob/master/tests/expressions/tests.py tests/expressions/tests.py] that uses [https://github.com/django/django/blob/master/tests/expressions/models.py the existing models]. Happy to walk you through a review if you are interested.
     5Also, would you be interested in submitting a patch if it does fix it? It should consist of setting this attribute and adding a test in [https://github.com/django/django/blob/master/tests/expressions/tests.py tests/expressions/tests.py] that uses [https://github.com/django/django/blob/master/tests/expressions/models.py the existing models]. Happy to walk you through a review if you are interested.
Back to Top