      return urlquote(value)
  urlencode = stringfilter(urlencode)
  
  def urlize(value):
      "Converts URLs in plain text into clickable links"
      from django.utils.html import urlize
      return urlize(value, nofollow=True)
  urlize = stringfilter(urlize)
  
  def urlizetrunc(value, limit):
 
</s> remove     Converts URLs into clickable links, truncating URLs to the given character limit,
    and adding 'rel=nofollow' attribute to discourage spamming.
 </s> add     Converts URLs into clickable links, truncating URLs to the given character
    limit, and adding 'rel=nofollow' attribute to discourage spamming. </s> remove     "Escapes a value for use in a URL"
 </s> add     """Escapes a value for use in a URL.""" </s> remove     "Returns the number of words"
 </s> add     """Returns the number of words.""" </s> remove     "Converts a string into all lowercase"
 </s> add     """Converts a string into all lowercase.""" </s> remove     "Converts a string into all uppercase"
 </s> add     """Converts a string into all uppercase."""
    """Converts URLs in plain text into clickable links."""
      return urlquote(value)
  urlencode = stringfilter(urlencode)
  
  def urlize(value):
    """Converts URLs in plain text into clickable links."""
      from django.utils.html import urlize
      return urlize(value, nofollow=True)
  urlize = stringfilter(urlize)
  
  def urlizetrunc(value, limit):
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