DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
django null first
from django.db.models import F MyModel.objects.all().order_by(F('price').desc(nulls_last=True))
PREVIOUS
NEXT
Tagged:
#django
#null
ADD COMMENT
Topic
COMMENT
Name
2+7 =
Submit