Hi Christopher,

> In the example 
> http://www.djangoproject.com/documentation/model-api/#manager-names
> there custom method with_counts() returns a list
> How do i get it to return a queryset

See the entry_count example in the DB API in this section:

http://www.djangoproject.com/documentation/db-api/#extra-select-none-where-none-params-none-tables-none-order-by-none-select-params-none

Perhaps you will be able to use that instead of a full custom query.

-Rajesh D
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to