def convert_post_to_VERB(request, verb):
 if (request.method == verb):
  if hasattr(request, u'_post'):
   del request._post
   del request._files
  try:
   request.method = u'POST'
   request._load_post_and_files()
   request.method = verb
  except AttributeError:
   request.META[u'REQUEST_METHOD'] = u'POST'
   request._load_post_and_files()
   request.META[u'REQUEST_METHOD'] = verb
  setattr(request, verb, request.POST)
 return request

def convert_post_to_VERB ( request , verb ) : if ( request . method == verb ) : if hasattr ( request , u'_post' ) : del request . _post del request . _files try : request . method = u'POST' request . _load_post_and_files ( ) request . method = verb except AttributeError : request . META [ u'REQUEST_METHOD' ] = u'POST' request . _load_post_and_files ( ) request . META [ u'REQUEST_METHOD' ] = verb setattr ( request , verb , request . POST ) return request
force django to process the verb .