django sort queryset

34

order_by django queryset order by ordering -

Entry.objects.filter(pub_date__year=2005).order_by('-pub_date', 'headline')

Comments

Submit
0 Comments