mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #28694 -- Made django.utils.text.slugify() strip dashes and underscores.
This commit is contained in:
committed by
Mariusz Felisiak
parent
3111b434e7
commit
0382ecfe02
@@ -280,6 +280,9 @@ Miscellaneous
|
||||
* :attr:`.ModelAdmin.prepopulated_fields` no longer strips English stop words,
|
||||
such as ``'a'`` or ``'an'``.
|
||||
|
||||
* :func:`~django.utils.text.slugify` now removes leading and trailing dashes
|
||||
and underscores.
|
||||
|
||||
.. _deprecated-features-3.2:
|
||||
|
||||
Features deprecated in 3.2
|
||||
|
||||
Reference in New Issue
Block a user