Expose preserve_case option from slugify

This commit is contained in:
Deniz Turgut 2020-04-21 00:26:00 +03:00
commit bd699d34e8
5 changed files with 42 additions and 12 deletions

View file

@ -156,6 +156,7 @@ DEFAULT_CONFIG = {
'INTRASITE_LINK_REGEX': '[{|](?P<what>.*?)[|}]',
'SLUGIFY_SOURCE': 'title',
'SLUGIFY_USE_UNICODE': False,
'SLUGIFY_PRESERVE_CASE': False,
'CACHE_CONTENT': False,
'CONTENT_CACHING_LAYER': 'reader',
'CACHE_PATH': 'cache',