Answer the question
In order to leave comments, you need to log in
How do I sort the querieset?
Good time of the day.
I have a ListView of objects, but when I save one of them after Edit, it is obtained at the end. In the view, I do not set any order_by, who can tell by what principle Djfngo sorts objects? Or how can I make the last edited object be the first in the list?
P.S. Answers: "add the date_updated field" or "translate the querieset into a sheet and reverse" - do not fit.
Thanks in advance for your help.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question