[Fixed]-Sort table listings first by Date then by priority (Django)

1👍

Queryset order_by() method accepts multiple arguments:

models.MyModel.objects.order_by('date_field', 'priority')
👤Marat

Leave a comment