def file_upload_filename_case_view(request):
    """
    Check adding the file to the database will preserve the filename case.
    """
    file = request.FILES['file_field']
    obj = FileModel()
    obj.testfile.save(file.name, file)
    return HttpResponse(obj.pk % '%d')
dataset/ETHPy150Open django/django/tests/file_uploads/views.py/file_upload_filename_case_view/swapped operands of `%`