On Wed, Mar 27, 2013 at 7:38 AM, Karen Tracey <kmtracey@gmail.com> wrote:
>
> On Wed, Mar 27, 2013 at 9:19 AM, Larry Martell <larry.martell@gmail.com>
> wrote:
>>
>> Here's a very simple example showing it's not working for me
>>
>> (Pdb) CST.objects.all().extra(select={'ep':
>> 1}).values_list('image_measurer_id')
>> [(86456L,), (86454L,), (86452L,), (86450L,), (86448L,), (86446L,),
>> (86444L,), (86442L,), (86440L,), (86438L,), (86436L,), (86434L,),
>> (86432L,), (86430L,), (86428L,), (86426L,), (86424L,), (86422L,),
>> (86420L,), (86418L,), '...(remaining elements truncated)...']
>
>
>
> You have not included the extra select column ep in your values_list call...
Doh! Thanks much!
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment