mirror of
https://github.com/django/django.git
synced 2025-10-24 22:26:08 +00:00
Fixed #30892 -- Fixed slugify() and admin's URLify.js for "İ".
Thanks Luis Nell for the implementation idea and very detailed report. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com>
This commit is contained in:
committed by
Mariusz Felisiak
parent
cf5d4701dc
commit
b2bd08bb7a
@@ -830,10 +830,10 @@ appropriate entities.
|
||||
Converts a string to a URL slug by:
|
||||
|
||||
#. Converting to ASCII if ``allow_unicode`` is ``False`` (the default).
|
||||
#. Converting to lowercase.
|
||||
#. Removing characters that aren't alphanumerics, underscores, hyphens, or
|
||||
whitespace.
|
||||
#. Removing leading and trailing whitespace.
|
||||
#. Converting to lowercase.
|
||||
#. Replacing any whitespace or repeated dashes with single dashes.
|
||||
|
||||
For example::
|
||||
|
||||
Reference in New Issue
Block a user