  from django.test.client import MULTIPART_CONTENT
  from urlparse import urlparse
  
  
  class DRFRequestFactory(RequestFactory):
  
      def __init__(self, **defaults):
          super(DRFRequestFactory, self).__init__(**defaults)
  
      def patch(self, path, data={}, content_type=MULTIPART_CONTENT,
 
</s> remove         super(DRFRequestFactory, self).__init__(**defaults)
 </s> add         super(RequestFactory, self).__init__(**defaults) </s> remove # from django.test.client import RequestFactory
 </s> add  </s> remove from rest_framework.tests.utils import DRFRequestFactory
 </s> add from rest_framework.tests.utils import RequestFactory </s> remove from rest_framework.tests.utils import DRFRequestFactory
 </s> add from rest_framework.tests.utils import RequestFactory </s> remove factory = DRFRequestFactory()
 </s> add factory = RequestFactory()
class RequestFactory(RequestFactory):
  from django.test.client import MULTIPART_CONTENT
  from urlparse import urlparse
  
  
class RequestFactory(RequestFactory):
  
      def __init__(self, **defaults):
          super(DRFRequestFactory, self).__init__(**defaults)
  
      def patch(self, path, data={}, content_type=MULTIPART_CONTENT,
keep keep keep keep replace keep keep keep keep keep
 Renaming DRFRequestFactory to RequestFactory

Updated tests to reflect the new name. 
rest_framework/tests/utils.py