Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django order by

Entry.objects.filter(pub_date__year=2005).order_by('-pub_date', 'headline')
Source by docs.djangoproject.com #
 
PREVIOUS NEXT
Tagged: #django #order
ADD COMMENT
Topic
Name
7+6 =