  class MockResource(Resource):
      """Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified"""
      anon_allowed_methods = ('GET',)
  
      def get(self, request, auth):
          return reverse('another')
  
  urlpatterns = patterns('',
      url(r'^$', MockResource.as_view()),
      url(r'^another$', MockResource.as_view(), name='another'),
 
</s> remove     def post(self, request, auth, content):
 </s> add     def post(self, request): </s> remove             def get(self, request, auth):
 </s> add             def get(self, request): </s> remove     def get(self, request, auth, *args, **kwargs):
 </s> add     def get(self, request, *args, **kwargs): </s> remove             def post(self, request, auth, content, *args, **kwargs):
                #self.uploaded = content.file
                return {'FILE_NAME': content['file'].name,
                        'FILE_CONTENT': content['file'].read()}
 </s> add             def post(self, request, *args, **kwargs):
                return {'FILE_NAME': self.CONTENT['file'].name,
                        'FILE_CONTENT': self.CONTENT['file'].read()} </s> remove     def put(self, request, auth, content, *args, **kwargs):
 </s> add     def put(self, request, *args, **kwargs):
    def get(self, request):
  class MockResource(Resource):
      """Mock resource which simply returns a URL, so that we can ensure that reversed URLs are fully qualified"""
      anon_allowed_methods = ('GET',)
  
    def get(self, request):
          return reverse('another')
  
  urlpatterns = patterns('',
      url(r'^$', MockResource.as_view()),
      url(r'^another$', MockResource.as_view(), name='another'),
keep keep keep keep replace keep keep keep keep keep
 depercate auth and content arguments to the request handler methods - yea :) 
djangorestframework/tests/reverse.py