Re: aggregate(Sum('x')) returns None

2011-11-24 Thread Cal Leeming [Simplicity Media Ltd]
None != 0 If no rows were encountered, then None should be returned, because there was no data to aggregate, thus how can it logically come back with 0? I'm -1 on this On Wed, Nov 23, 2011 at 6:24 PM, M. Can Bayrak wrote: > Agree, i think sum must return decimal. Same problem with me. > > -- >

Re: aggregate(Sum('x')) returns None

2011-11-23 Thread M. Can Bayrak
Agree, i think sum must return decimal. Same problem with me. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/tS-EZk6nTbEJ. To post to this group, send emai