Ticket #3155: urlencode.patch
File urlencode.patch, 448 bytes (added by , 18 years ago) |
---|
-
django/template/defaultfilters.py
108 108 def urlencode(value): 109 109 "Escapes a value for use in a URL" 110 110 import urllib 111 if not isinstance(value, basestring): 112 value = str(value) 111 113 return urllib.quote(value) 112 114 113 115 def urlize(value):