Slugify a string, to make it URL friendly while preserving Unicode characters.
(value: str, separator: str)
| 46 | |
| 47 | |
| 48 | def slugify_unicode(value: str, separator: str) -> str: |
| 49 | """ Slugify a string, to make it URL friendly while preserving Unicode characters. """ |
| 50 | return slugify(value, separator, unicode=True) |
| 51 | |
| 52 | |
| 53 | IDCOUNT_RE = re.compile(r'^(.*)_([0-9]+)$') |