I've noticed that the Sum('x') function will return None if there are
no records in the queryset.  This doesn't seem correct to me.
Shouldn't Sum always return a Decimal?  It makes it difficult to
compute more complex expressions when you can't depend on a number
being returned.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to