这是一个创建于 4078 天前的主题,其中的信息可能已经有所发展或是发生改变。
假设一个queryset如下:
someset=somemodel.objects.filter(xfiled='somevalue')
请问for item in someset.object_list 和 for item in someset中的item有什么区别?
1 条回复 • 1970-01-01 08:00:00 +08:00
|
|
1
wenbinwu 2013-08-06 14:54:28 +08:00
paginator里有object_list吧?
|