db-api question:
if I have a model 'Service" with 'max_users' and 'cur_users' as integer
fields, how can I do

Service.objects.filter(max_users__gt=cur_users)

or how can the right-hand-side of the search be a model field of the
current queryset. 
I found no example for this, yet.

Thanks, Mathias


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to