nephila / djangocms-blog

django CMS blog application - Support for multilingual posts, placeholders, social network meta tags and configurable apphooks
https://djangocms-blog.readthedocs.io
BSD 3-Clause "New" or "Revised" License
403 stars 190 forks source link

Add new setting: disable unicode in slugs. #708

Closed corentinbettiol closed 1 year ago

corentinbettiol commented 2 years ago

Description

Add optional BLOG_UNICODE_SLUGS setting (default is still allow_unicode=True when generating a slug).

Update black version in .pre-commit-config.yaml in order to make this commit.

References

Fix #707.

Checklist

yakky commented 2 years ago

@corentinbettiol thnaks for the PR, I think some mention in the docs is needed to bettere communicate this option

I will work on the test suite to make it work again, in the meantime

yakky commented 1 year ago

Thanks your contribution @corentinbettiol , I merged this with #727 to ease porting to updated develop branch

corentinbettiol commented 1 year ago

Thanks!