utils.http.urlquote()

urlquote(url, safe='/') [source]

A version of Python’s urllib.quote() function that can operate on unicode strings. The url is first UTF-8 encoded before quoting. The returned string can safely be used as part of an argument to a subsequent iri_to_uri() call without double-quoting occurring. Employs lazy execution.

doc_Django
2016-10-09 18:40:31
Comments
Leave a Comment

Please login to continue.