#6904: Dictsort filter should sort case insensitive
---------------------------------+------------------------------------
Reporter: michael@… | Owner: nobody
Type: New feature | Status: closed
Component: Template system | Version: dev
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Changes (by Mariusz Felisiak):
* status: new => closed
* needs_better_patch: 1 => 0
* has_patch: 1 => 0
* resolution: => wontfix
* needs_docs: 1 => 0
Comment:
The current thread is to keep Django a core framework, not providing every
utility which might be useful. You can write that filter in your own
library, e.g.
{{{#!python
@register.filter(is_safe=False)
def dictsortlower(value):
return sorted(value, key=str.lower)
}}}
You can start a discussion on DevelopersMailingList if you don't agree.
--
Ticket URL: <https://code.djangoproject.com/ticket/6904#comment:16>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070181a5db17e5-dfd6ede5-8d53-4ea1-8d50-18ec364d25b9-000000%40eu-central-1.amazonses.com.