              return test_item
          return decorator
       
      unittest.skip = skip
 
</s> remove         return reverse('another', request)
 </s> add         return reverse('myview', request) </s> remove     url(r'^$', MockView.as_view()),
    url(r'^another$', MockView.as_view(), name='another'),
 </s> add     url(r'^myview$', MyView.as_view(), name='myview'), </s> remove class MockView(View):
    """Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified"""
    permissions = ()
 </s> add class MyView(View):
    """
    Mock resource which simply returns a URL, so that we can ensure
    that reversed URLs are fully qualified.
    """
    renderers = (JSONRenderer, ) </s> remove from djangorestframework.utils import reverse
 </s> add from djangorestframework.reverse import reverse </s> remove The :py:func:`~utils.reverse` function has the same behavior as :py:func:`django.core.urlresolvers.reverse` [1]_, except that it takes a request object and returns a fully qualified URL, using the request to determine the host and port::
 </s> add The :py:func:`~reverse.reverse` function has the same behavior as `django.core.urlresolvers.reverse`_, except that it takes a request object and returns a fully qualified URL, using the request to determine the host and port::
# reverse_lazy (Django 1.4 onwards)
try:
    from django.core.urlresolvers import reverse_lazy
except:
    from django.core.urlresolvers import reverse
    from django.utils.functional import lazy
    reverse_lazy = lazy(reverse, str)
              return test_item
          return decorator
       
      unittest.skip = skip
# reverse_lazy (Django 1.4 onwards)
try:
    from django.core.urlresolvers import reverse_lazy
except:
    from django.core.urlresolvers import reverse
    from django.utils.functional import lazy
    reverse_lazy = lazy(reverse, str)
keep keep keep add
 reverse gets it's own module 
djangorestframework/compat.py