[Answer]-Django: Sort database import by the last entry first and so on

1👍

If I understood correctly you want to get the list of users in a reverse order.

reverse() was made specifically for this:

Use the reverse() method to reverse the order in which a queryset’s
elements are returned.

users.objects.all().reverse()
👤alecxe

Leave a comment