utils update: moving some parameters to settings

This commit is contained in:
tmshv committed 2016-08-04 23:35:39 +03:00
1 parent 8143e21388
commit 24b28e6e4d
5 files changed
+106 -69

No files matched your search

+10 -1
View File
@@ -76,7 +76,16 @@ def text_lower(i):
return i.lower()
url_encode_file = iterate_over_fns([translit, space_to_dash, remove_underscores, remove_punctuation, text_lower])
url_encode_file = iterate_over_fns([
translit,
space_to_dash,
short_dash,
remove_underscores,
remove_punctuation,
reduce_dashes,
text_lower
])
url_encode_text = iterate_over_fns([
translit,
space_to_dash,