          if request.method == 'PUT':
              upload_handlers = request._get_upload_handlers()
              django_mpp = DjangoMPParser(request.META, StringIO(input), upload_handlers)
              data, files = django_mpp.parse()
              data = dict(data)
              files = dict(files)
  
          if request.method == 'POST':
              # Django has already done the form parsing for us.
              data = dict(request.POST)
              files = dict(request.FILES)
 
</s> remove         if request.method == 'POST':
 </s> add         elif request.method == 'POST': </s> remove             data = dict(request.POST)
            files = dict(request.FILES)

        # Flattening, then merging the POSTED/PUT data/files
        for key, val in dict(data).items():
            data[key] = val[0]
        for key, val in dict(files).items():
            files[key] = val[0].read()
 </s> add             data = request.POST
            files = request.FILES

        data = self.flatten_data(data)
        files = self.flatten_data(files) </s> remove             # Flattening the parsed query data
            for key, val in data.items():
                data[key] = val[0]
 </s> add  </s> remove             data = dict(request.POST.items())
 </s> add             data = request.POST

        data = self.flatten_data(data) </s> remove             returned = (content_type, f.read())
            return returned
            #try:
            #    f.close()
            #except Exception as e:
            #    print 'exception', e
 </s> add             return (content_type, f.read())
          if request.method == 'PUT':
              upload_handlers = request._get_upload_handlers()
              django_mpp = DjangoMPParser(request.META, StringIO(input), upload_handlers)
              data, files = django_mpp.parse()


  
          if request.method == 'POST':
              # Django has already done the form parsing for us.
              data = dict(request.POST)
              files = dict(request.FILES)
keep keep keep keep replace replace keep keep keep keep keep
 forms and multipat parsers now flaten data 
djangorestframework/parsers.py