John M wrote:
Sounds like two queries to me, sum all the refunds and then subtract
them from all the non-refund amounts. does that work for ya?
Not really, that requires two queries. I know this can be done in one
query in SQL, just wondering how to express that in Django ORM speak...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.