Hi, Am trying to create a custom pagination for my project, but am seriously struck with the django implementation of Limit and offset. I went through the documents, instead of making me understand how it works, i ended up more confused. So suppose I have a page limit of 3 records per page and if i want to load the second set of records how should the following statement be?
Data = NewsFeedStory.objects.order_by('-updated_on')[?:?] and similarly if i want to load the 3rd set with same page limit, how should the same statement be? I played with the django shell to figure out how this works but am still confused. Please help. Thanks and Regards, Swaroop Shankar V -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.