Y
Y
Yura Khlyan2017-07-04 18:38:26
PostgreSQL
Yura Khlyan, 2017-07-04 18:38:26

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

1 answer(s)
S
sim3x, 2017-07-04
@MAGistr_MTM

P.S. Answers: "add the date_updated field" or "translate the querieset into a sheet and reverse" - do not fit.

Solutions - no

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question