      return value.upper()
  upper = stringfilter(upper)
  
  def urlencode(value):
      "Escapes a value for use in a URL"
      from django.utils.http import urlquote
      return urlquote(value)
  urlencode = stringfilter(urlencode)
  
  def urlize(value):
 
</s> remove     "Converts a string into all uppercase"
 </s> add     """Converts a string into all uppercase.""" </s> remove     "Converts URLs in plain text into clickable links"
 </s> add     """Converts URLs in plain text into clickable links.""" </s> remove     "Escapes an IRI value for use in a URL"
 </s> add     """Escapes an IRI value for use in a URL.""" </s> remove     "Strips all [X]HTML tags"
 </s> add     """Strips all [X]HTML tags.""" </s> remove     "Replaces ampersands with ``&amp;`` entities"
 </s> add     """Replaces ampersands with ``&amp;`` entities."""
    """Escapes a value for use in a URL."""
      return value.upper()
  upper = stringfilter(upper)
  
  def urlencode(value):
    """Escapes a value for use in a URL."""
      from django.utils.http import urlquote
      return urlquote(value)
  urlencode = stringfilter(urlencode)
  
  def urlize(value):
keep keep keep keep replace keep keep keep keep keep
 Style and import fixes.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@6641 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
django/template/defaultfilters.py