jeudi 4 août 2016

Django retrieve all rows from a table but the last three

I have the last three rows by using Book.objects.order_by('-id')[:3], is there a way to get all the rows excluding those three elements?

Aucun commentaire:

Enregistrer un commentaire