Skip to content
Browse files
hack to allow uppercase slugs
  • Loading branch information
Roberto Alsina committed May 30, 2017
1 parent dde5cda commit 762cc925fa0df69a63826c910042320c4c118778
Showing 1 changed file with 1 addition and 1 deletion.
@@ -833,7 +833,7 @@ def slugify(value, lang=None, force=False):
# This is the standard state of slugify, which actually does some work.
# It is the preferred style, especially for Western languages.
value = unicode_str(unidecode(value))
value = _slugify_strip_re.sub('', value).strip().lower()
value = _slugify_strip_re.sub('', value).strip()
return _slugify_hyphenate_re.sub('-', value)
# This is the “disarmed” state of slugify, which lets the user

0 comments on commit 762cc92

Please sign in to comment.