1
0
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:
Sjbrgsn
2019-12-21 11:45:54 +01:00
committed by Mariusz Felisiak
parent cf5d4701dc
commit b2bd08bb7a
6 changed files with 14 additions and 10 deletions

View File

@@ -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::