[Answered ]-Is it possible to do case-insensitive ordering in descending order with the Django ORM

2👍

#Import Lower function
from django.db.models.functions import Lower

#For Ascending order
queryset.order_by(Lower('field_name'))

#For Descending order
queryset.order_by(Lower('field_name').desc())

Leave a comment