#31651: Constant expressions of an ExpressionWrapper object are incorrectly 
placed
at the GROUP BY clause
-------------------------------------+-------------------------------------
     Reporter:  Thodoris             |                    Owner:  nobody
  Sotiropoulos                       |
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  3.0
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Simon Charette):

 * easy:  0 => 1


Comment:

 Would you be interested in submitting a PR with the above patch and a
 regression test in `tests/expression/tests.py`?

 A `SimpleTestCase` subclass with a test method that creates a
 `ExpressionWrapper(Value(42))` and asserts the return value of
 `get_group_by_cols(alias=None)` is `[]` should do!

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31651#comment:3>
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.6953c86b731f7cb5884bf68e36126e64%40djangoproject.com.

Reply via email to