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
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
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
Hi to all !
I doesnt undestand where is the problem whit Query set.. (or maybe what is
query_set)
If the models is :
class User(models.Model):
user = models.CharField(maxlength=12)
passw = models.CharField(maxlength=20)
I doest undestand this shell session :
>>> User.objects
4 matches
Mail list logo