#23558: document slugify limitations
-------------------------------+--------------------
Reporter: kmike | Owner: nobody
Type: Uncategorized | Status: new
Component: Documentation | Version: 1.7
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------
Currently slugify docs say:
> slugify Converts to lowercase, removes non-word characters
(alphanumerics and underscores) and converts spaces to hyphens. Also
strips leading and trailing whitespace.
In Python 3:
{{{
>>> 'вася'.isalnum()
>>> True
}}}
but slugify doesn't work like documented for such strings. Isn't it a bug
if something doesn't work as documented?
https://code.djangoproject.com/ticket/8391 was closed as wontfix. If there
is no intention to make slugify work better it should be documented when
it works and when people should find alternative solutions.
--
Ticket URL: <https://code.djangoproject.com/ticket/23558>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/048.ba3ababf591a69b99b1d807cfb76b756%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.