Monday, August 29, 2011

Model rowset split

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 to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment