[Answer]-Dynamic Order For Model Fields In Django

1👍

In the model, the ordering you define is the default ordering (for queries that do not specify their own order_by). So if you need several sort order, you will need to define those for each of the queries, using the q.order_by(…) function.

Leave a comment