diff --git a/core/utils/db.py b/core/utils/db.py index 07c5ee30..8f8283fc 100644 --- a/core/utils/db.py +++ b/core/utils/db.py @@ -26,7 +26,7 @@ def unicode_slugify_function(content): max_length=88, word_boundary=True, save_order=True, - regex_pattern=r"[^A-Za-z0-9-]+", + regex_pattern=r"(?:[^\w-]|_)+", separator="-", )