How can I work around this ValueError: too many values to unpack. 
I am actually trying to extract certain portion of a csv file. 
I just need an insight into what could be causing such error and I should be 
able to figure out the rest. 

Thanks. 
Sent from my BlackBerry wireless device from MTN

-----Original Message-----
From: "gia...@gmail.com" <gia...@gmail.com>
Sender: django-users@googlegroups.com
Date: Wed, 12 Jan 2011 18:07:30 
To: <django-users@googlegroups.com>
Reply-To: django-users@googlegroups.com
Subject: Re: Follow relations on three tables

On Tue, Jan 11, 2011 at 2:30 PM, Matias Aguirre <matiasagui...@gmail.com> wrote:
> So, basically you want this:
>
> C.objects.filter(Bref__Dref__id=D_id).values_list('Aref')
>

Thanks! it was exactly what I needed

-- 
Gianluca Sforna

http://morefedora.blogspot.com
http://identi.ca/giallu - http://twitter.com/giallu

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to