You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some people may not want to have unicode chars like ù or ö in their slugs. Adding an (optional) setting would help.
Use cases
Let slugs be auto-generated like before, but replace all unicode chars by ascii-ones (like django does when there's no allow_unicode=True).
Proposed solution
Update this line, try to get a setting DJANGOCMS_BLOG_UNICODE_SLUG (default = True, if it does not exist = True), and pass this value to allow_unicode.
Alternatives
Another way to do that is to manually edit the slug.
Additional information
Will create a PR soon.
edit: added a pr!
The text was updated successfully, but these errors were encountered:
Description
Some people may not want to have unicode chars like
ù
orö
in their slugs. Adding an (optional) setting would help.Use cases
Let slugs be auto-generated like before, but replace all unicode chars by ascii-ones (like django does when there's no
allow_unicode=True
).Proposed solution
Update this line, try to get a setting
DJANGOCMS_BLOG_UNICODE_SLUG
(default = True, if it does not exist = True), and pass this value toallow_unicode
.Alternatives
Another way to do that is to manually edit the slug.
Additional information
Will create a PR soon.
edit: added a pr!
The text was updated successfully, but these errors were encountered: