#34567: slugify template filter with allow_unicode
-----------------------------------------+------------------------
Reporter: benjaoming | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: dev
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+------------------------
Currently, the slugify template filter in `defaultfilters` doesn't handle
the `allow_unicode` from `django.utils.text.slugify`. This should be
trivial to add and be beneficial for languages that won't have characters
normally converted to ASCII.
Could this be implemented as an argument for the default template filter?
Or a separate default template filter?
Which version would be preferred?
`{{ value|slugify:allow_unicode=True }}`
or
`{{ value|slugify_unicode }}`
?
--
Ticket URL: <https://code.djangoproject.com/ticket/34567>
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/0107018821b811ac-22a9c08e-3322-472d-94b1-b312ef762646-000000%40eu-central-1.amazonses.com.