本人有起诉人名单,而且想将案件定性为不敏感案件。
members = Person.objects.filter(person=person_id)
members_list = list(members)
members_list.sort( key = operator.attrgetter( sort_by ), reverse = False )
here sort_by have attribute name by whom i want to sort. Now how can i sort with case insensitive ??
请提供帮助。