Re: '_QuerySet' problem

2007-08-05 Thread SmileyChris
On Aug 6, 1:15 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 05-Aug-07, at 6:19 PM, Marco A. wrote: > > > >>> p.user > > p.User Umm, this is just as wrong. Doug's answer summed it up pretty well. --~--~-~--~~~---~--~~ You received this message because yo

Re: '_QuerySet' problem

2007-08-05 Thread Kenneth Gonsalves
On 05-Aug-07, at 6:19 PM, Marco A. wrote: > >>> p.user p.User -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: '_QuerySet' problem

2007-08-05 Thread Doug B
A queryset is kind of like a list, you can slice it, access by index, or iterate through it. I'm not quite sure what you are trying to do, but to access the individual user objects you have to fetch them from the queryset somehow: users = User.objects.all() by index: print users[0].user print u