X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/99f6dd4f1ff0390de9a9bbd4e3352b953cb9a235..26f3ed051ee8f2c5caa7a3119bcf30e5310d5266:/apps/funding/utils.py?ds=sidebyside diff --git a/apps/funding/utils.py b/apps/funding/utils.py index ff6e9f4a1..c16c9d93d 100644 --- a/apps/funding/utils.py +++ b/apps/funding/utils.py @@ -11,8 +11,8 @@ from fnpdjango.utils.text.slughifi import char_map # with the notable exception of backslash. sane_in_payu_title = re.escape( string.uppercase + - string.lowercase + - u'ąćęłńóśźżĄĆĘŁŃÓŚŹŻ' + + string.lowercase + + u'ąćęłńóśźżĄĆĘŁŃÓŚŹŻ' + string.digits + ' ' + "".join(set(string.punctuation) - set('\\'))