Re: Model rowset split

2011-08-29 Thread Kejun He
You'd better offer more info about your question On Mon, Aug 29, 2011 at 6:26 PM, kooliah < kool...@djeve.sites.djangohosting.ch> wrote: > With > > recset = mydb.all() > len(recset) > 2000 > > I would like to split into x rowset with the same attributes and methods > but 2000/x records. > > I tri

Model rowset split

2011-08-29 Thread kooliah
With recset = mydb.all() len(recset) 2000 I would like to split into x rowset with the same attributes and methods but 2000/x records. I tried slicing but gave me errors Thanks to all -- You received this message because you are subscribed to the Google Groups "Django users" group. To post