  from djangorestframework import status
  from djangorestframework.renderers import BaseRenderer
  from djangorestframework.resources import Resource, FormResource, ModelResource
  from djangorestframework.response import Response, ImmediateResponse
  from djangorestframework.request import request_class_factory
  from djangorestframework.utils import as_tuple, allowed_methods
  
  
  __all__ = (
      # Base behavior mixins
 
</s> remove from djangorestframework.request import request_class_factory

class MockView(View):
    authentication = (UserLoggedInAuthentication,)
    def post(self, request):
        if request.POST.get('example') is not None:
            return Response(status=status.HTTP_200_OK)

        return Response(status=status.INTERNAL_SERVER_ERROR)

urlpatterns = patterns('',
    (r'^$', MockView.as_view()),
)

request_class = request_class_factory(RequestFactory().get('/'))
 </s> add  </s> remove     - content automatically parsed according to `Content-Type` header, and available as :meth:`request.DATA<Request.DATA>`
 </s> add     - content automatically parsed according to `Content-Type` header, and available as :meth:`.DATA<Request.DATA>` </s> remove         Returns a custom request instance, with data and attributes copied from the
        original request.
 </s> add         Prepares the request for the request cycle. Returns a custom request instance,
        with data and attributes copied from the original request. </s> remove     def get_request(self):
 </s> add     def prepare_request(self, request):
from djangorestframework.request import Request
  from djangorestframework import status
  from djangorestframework.renderers import BaseRenderer
  from djangorestframework.resources import Resource, FormResource, ModelResource
  from djangorestframework.response import Response, ImmediateResponse
from djangorestframework.request import Request
  from djangorestframework.utils import as_tuple, allowed_methods
  
  
  __all__ = (
      # Base behavior mixins
keep keep keep keep replace keep keep keep keep keep
 cleaned Request/Response/mixins to have similar interface 
djangorestframework/mixins.py