djangosnippets.org: Latest snippets tagged with 'urlquote'https://djangosnippets.org/tags/urlquote/2008-10-30T03:02:12.433817-05:00urlquote() and urlencode() in one method
2008-10-30T03:02:12.433817-05:00guettlihttps://djangosnippets.org/snippets/1159/<p>I think this method is handy, since you don't need to remember if you
need urlquote or urlencode. It does both and adds a question mark
between the path and the get parameters, if later are present.</p>
<p>And it works around a bug in Django: MultiValueDicts (request.GET, request.POST) are handled …</p>
Freely redistributable