DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
django order by
#Add this to your models.py class, and dont remove the comma! class Meta: ordering = ('yourfeild',)
Source by docs.djangoproject.com #
PREVIOUS
NEXT
Tagged:
#django
#order
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit