Re: questions about Django.db

2008-04-21 Thread 小龙
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

Re: questions about Django.db

2008-04-21 Thread Chris Hoeppner
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 >

questions about Django.db

2008-04-20 Thread 小龙
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/