Thanks i got it .
a=Page.objects.all()
for one in a:
print one
>>[a,a1,a2]
:D
>
> >
>
--
deSign thE fuTure
http://www.freeis.cn/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
When you retrieve a row (aka, a model instance), it will be an object
with attrs a, a1, aN.
I'm not sure I got your point, though.
~ Chris
El lun, 21-04-2008 a las 01:11 +0800, 小龙 escribió:
> Just as in table Test:
> name url sizetime
> a a1 a2 a3
>
Just as in table Test:
name url sizetime
a a1 a2 a3
b b1 b2 b3
When i get "a" ,how i can get other attrs about a1,a2,a3 while querying?
Thanks a lot :D
--
deSign thE fuTure
http://www.freeis.cn/
3 matches
Mail list logo