def quote(url):
    url = django_quote(remove_nonspacing_marks(url))
    return re.sub(r' ', '-', url)
示例#2
0
def quote(url):
    url = django_quote(url)
    return re.sub(r' ', '__', url)