[Answered ]-How to combine two or more QuerySets from different models and order objects chronologically?

1👍

According to the documentation, order_by is supported by union. Try like this:

model_combination = model_set1.union(model_set2, all=True).order_by('datetime_field')
👤ruddra

Leave a comment