  from django.conf.urls.defaults import url
  from rest_framework.settings import api_settings
  
  
  def format_suffix_patterns(urlpatterns, suffix_required=False,
                             suffix_kwarg=None, allowed=None):
      """
      Supplement existing urlpatterns with corrosponding patterns that also
      include a '.format' suffix.  Retains urlpattern ordering.
  
      suffix_required:
 
</s> remove     suffix_kwarg:
        The name of the kwarg that will be passed to the view.
        Defaults to 'format'.

 </s> add  </s> remove     suffix_kwarg = suffix_kwarg or api_settings.FORMAT_SUFFIX_KWARG
 </s> add     suffix_kwarg = api_settings.FORMAT_SUFFIX_KWARG
def format_suffix_patterns(urlpatterns, suffix_required=False, allowed=None):
  from django.conf.urls.defaults import url
  from rest_framework.settings import api_settings
  
  
def format_suffix_patterns(urlpatterns, suffix_required=False, allowed=None):
def format_suffix_patterns(urlpatterns, suffix_required=False, allowed=None):
      """
      Supplement existing urlpatterns with corrosponding patterns that also
      include a '.format' suffix.  Retains urlpattern ordering.
  
      suffix_required:
keep keep keep keep replace replace keep keep keep keep keep
 docs, docs, docs, docs, docs, docs, docs 
rest_framework/urlpatterns.py