1👍
✅
what about using a multiple params in order_by
method?
problems_filter = Data.objects.filter(main_id=1).exclude(status=1). \
order_by('column_with_zero_or_one_value', '-data_date')[:100]
Source:stackexchange.com