Thank you Taranjeet for this code. Unfortenately I got this warning message: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: QuerySet. paginator = Paginator(items_devis, self.paginate_by).
How can I fix this?
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Thank you Taranjeet for this code. Unfortenately I got this warning message: UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list: QuerySet. paginator = Paginator(items_devis, self.paginate_by).
How can I fix this?