Open adrien-delhorme opened 3 months ago
URL for tags list view uses slug as path converter, which only accepts ASCII characters.: https://github.com/nephila/djangocms-blog/blob/30dbb72643b30fd4a8583f6d79006a81e569a23f/djangocms_blog/urls.py#L37
slug
But django-taggit allows unicode in tags' slugs.
When a reverse() is done on this URL, it throws an exception:
reverse()
Exception Type: NoReverseMatch Exception Value: Reverse for 'posts-tagged' with keyword arguments '{'tag': 'en-été'}' not found. 1 pattern(s) tried: ['fr/blog/tag/(?P<tag>[-a-zA-Z0-9_]+)/\\Z']
Python == 3.11 Django == 3.2.25 djangocms-blog == 2.0.7
Description
URL for tags list view uses
slug
as path converter, which only accepts ASCII characters.: https://github.com/nephila/djangocms-blog/blob/30dbb72643b30fd4a8583f6d79006a81e569a23f/djangocms_blog/urls.py#L37But django-taggit allows unicode in tags' slugs.
When a
reverse()
is done on this URL, it throws an exception:Steps to reproduce
Versions
Python == 3.11 Django == 3.2.25 djangocms-blog == 2.0.7