Ticket #12140: urlencode.diff
File urlencode.diff, 504 bytes (added by , 15 years ago) |
---|
-
django/utils/http.py
38 38 query = query.items() 39 39 return urllib.urlencode( 40 40 [(smart_str(k), 41 isinstance(v, (list,tuple)) and [smart_str(i) for i in v] orsmart_str(v))41 [smart_str(i) for i in v] if isinstance(v, (list,tuple)) else smart_str(v)) 42 42 for k, v in query], 43 43 doseq) 44 44