  
  class Resource(BaseResource):
      """
      A Resource determines how a python object maps to some serializable data.
      Objects that a resource can act on include plain Python object instances, Django Models, and Django QuerySets.
      """
  
      # The model attribute refers to the Django Model which this Resource maps to.
      # (The Model's class, rather than an instance of the Model)
      model = None
 
</s> remove     Base class for all Resource classes, which simply defines the interface they provide.
 </s> add     Base class for all Resource classes, which simply defines the interface
    they provide. </s> remove         return {"Some other resources": [reverse('another-example', request, kwargs={'num':num}) for num in range(3)]}
 </s> add         return {"Some other resources": [reverse('another-example', kwargs={'num':num}, request=request) for num in range(3)]} </s> remove except ImportError: # python < 2.7
 </s> add except ImportError:  # python < 2.7 </s> remove     Uses djangorestframework's RendererMixin to provide support for multiple output formats."""
 </s> add     Uses djangorestframework's RendererMixin to provide support for multiple
    output formats."""
    Objects that a resource can act on include plain Python object instances,
    Django Models, and Django QuerySets.
  
  class Resource(BaseResource):
      """
      A Resource determines how a python object maps to some serializable data.
    Objects that a resource can act on include plain Python object instances,
    Django Models, and Django QuerySets.
      """
  
      # The model attribute refers to the Django Model which this Resource maps to.
      # (The Model's class, rather than an instance of the Model)
      model = None
keep keep keep keep replace keep keep keep keep keep
 reverse takes request as a kwarg for compatibility with django's reverse 
djangorestframework/resources.py