#10929: Support a default value for Sum (and possibly other aggregation 
functions)
-------------------------------------+-------------------------------------
     Reporter:  nolan                |                    Owner:  Nick Pope
         Type:  New feature          |                   Status:  closed
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  aggregate annotate   |             Triage Stage:  Ready for
  default                            |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak <felisiak.mariusz@…>):

 In [changeset:"0db8bf3d60f7a027391ce89555bdb4a95ad0a227" 0db8bf3d]:
 {{{
 #!CommitTicketReference repository=""
 revision="0db8bf3d60f7a027391ce89555bdb4a95ad0a227"
 Refs #10929 -- Fixed aggregates crash when passing strings as defaults.

 Previously strings were interpreted as F() expressions and default
 crashed with AttributeError:
     'F' object has no attribute 'empty_result_set_value'
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/10929#comment:36>
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/01070184c75f226d-89022047-d483-4667-a1a8-bab4229e942d-000000%40eu-central-1.amazonses.com.

Reply via email to