Go to Google Groups Home    Django users
Re: In qryset refactor did output of following change?

ydjango <neerash...@gmail.com>

adding to it.
earlier I could do unassigned_contacts.count()
now I get error  "Cannot add count col with multiple cols in 'select'"

On May 16, 8:15 pm, ydjango <neerash...@gmail.com> wrote:

> In qryset refactor branch would the output of following changed?

> unassigned_contacts =  Contacts.values('id','last_name',
> 'first_name').filter(group__exact=my_group).exclude(pk__in=assignedparts)

> where assignedpart=[] and then loaded before the the above statement