  
  class CreateModelMixin(object):
      """
      Create a model instance.
      Should be mixed in with any `BaseView`.
      """
      def create(self, request, *args, **kwargs):
          serializer = self.get_serializer(data=request.DATA, files=request.FILES)
  
          if serializer.is_valid():
 
</s> remove     Should be mixed in with `SingleObjectBaseView`.
 </s> add     Should be mixed in with `SingleObjectAPIView`. </s> remove     Should be mixed in with `SingleObjectBaseView`.
 </s> add     Should be mixed in with `SingleObjectAPIView`. </s> remove     Should be mixed in with `SingleObjectBaseView`.
 </s> add     Should be mixed in with `SingleObjectAPIView`.
    Should be mixed in with any `GenericAPIView`.
  
  class CreateModelMixin(object):
      """
      Create a model instance.
    Should be mixed in with any `GenericAPIView`.
      """
      def create(self, request, *args, **kwargs):
          serializer = self.get_serializer(data=request.DATA, files=request.FILES)
  
          if serializer.is_valid():
keep keep keep keep replace keep keep keep keep keep
 Fix out of date docstrings. Closes #689. 
rest_framework/mixins.py