Malcolm Tredinnick wrote:
> The 'fields' keyword argument is specific to get_values() because it
> specifies the fields you want returned. The get_count() method returns
> an integer -- you don't get a choice there -- so there is no 'fields'
> argument required or permitted, only lookup constraints
> (artist__icontains, etc).

You're right, the error goes away when I remove the 'fields' keyword.
However, the count is way off (it's not counting distinct rows). How do
you count distinct rows?


--~--~---------~--~----~------------~-------~--~----~
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