Ver originalfile = request.FILES['file']
Ver originalif 'file' in request.FILES: file = request.FILES['file'] # ...