lundi 7 mars 2016

Django object query getting three at a time

Im new to Django, so go easy on me. I have a page in my application that list 3 news articles, and there are navigation buttons on the bottom of the page to get the next three, or previous three news articles. I am trying to think of a query that would solve that, but for the life of me, I can't think of anything. I don't want to use Django's Paginator. Any suggestions ?

Aucun commentaire:

Enregistrer un commentaire