          def decorator(test_item):
              if not (isinstance(test_item, type) and issubclass(test_item, TestCase)):
                  @functools.wraps(test_item)
                  def skip_wrapper(*args, **kwargs):
                     pass 
                  test_item = skip_wrapper
  
              test_item.__unittest_skip__ = True
              test_item.__unittest_skip_why__ = reason
              return test_item
 
</s> remove         pathname = os.path.join(OBJECT_STORE_DIR, key)
        if not os.path.exists(pathname):
 </s> add         filename = get_filename(key)
        if not os.path.exists(filename): </s> remove         pathname = os.path.join(OBJECT_STORE_DIR, key)
        if not os.path.exists(pathname):
 </s> add         filename = get_filename(key)
        if not os.path.exists(filename): </s> remove def reverse_lazy(viewname, request, *args, **kwargs):
    """
    Do the same as `django.core.urlresolvers.reverse_lazy` but using
    *request* to build a fully qualified URL.
    """
    url = django_reverse_lazy(viewname, *args, **kwargs)
    return request.build_absolute_uri(url)
 </s> add reverse_lazy = lazy(reverse, str) </s> remove                     return reverse(self.view_callable[0], self.view.request, kwargs=instance_attrs)
 </s> add                     return reverse(self.view_callable[0],
                                   kwargs=instance_attrs,
                                   request=self.view.request)
                    pass
          def decorator(test_item):
              if not (isinstance(test_item, type) and issubclass(test_item, TestCase)):
                  @functools.wraps(test_item)
                  def skip_wrapper(*args, **kwargs):
                    pass
                  test_item = skip_wrapper
  
              test_item.__unittest_skip__ = True
              test_item.__unittest_skip_why__ = reason
              return test_item
keep keep keep keep replace keep keep keep keep keep
 reverse takes request as a kwarg for compatibility with django's reverse 
djangorestframework/compat.py