def urlquote_plus(url, safe=''):
 return force_unicode(urllib.quote_plus(smart_str(url), safe))

def urlquote_plus ( url , safe = '' ) : return force_unicode ( urllib . quote_plus ( smart_str ( url ) , safe ) )
a version of pythons urllib .