  This is identical to the built-in filter 'urlize' with the exception that
  single and double quotes are permitted as leading or trailing punctuation.
  """
  
  # Almost all of this code is copied verbatim from django.utils.html
  # LEADING_PUNCTUATION and TRAILING_PUNCTUATION have been modified
  import re
  import string
  
  from django.utils.safestring import SafeData, mark_safe
  from django.utils.encoding import force_unicode
 
</s> remove from django.utils.http import urlquote
 </s> add  </s> remove """Adds the custom filter 'urlize_quoted_links'
 </s> add """
Adds the custom filter 'urlize_quoted_links' </s> remove LEADING_PUNCTUATION  = ['(', '<', '&lt;', '"', "'"]
 </s> add LEADING_PUNCTUATION = ['(', '<', '&lt;', '"', "'"]
  This is identical to the built-in filter 'urlize' with the exception that
  single and double quotes are permitted as leading or trailing punctuation.
  """
  


  import re
  import string
  
  from django.utils.safestring import SafeData, mark_safe
  from django.utils.encoding import force_unicode
keep keep keep keep replace replace keep keep keep keep keep
 Optional login/logout tags so browseable API will work without requiring auth views 
djangorestframework/templatetags/urlize_quoted_links.py