utils.http.urlquote_plus()

urlquote_plus(url, safe='') [source]

A version of Python’s urllib.quote_plus() 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:32
Comments
Leave a Comment

Please login to continue.