I'm trying to create a view for uploading a .csv file and parsing it on the template but it's returning a
MultiValueDictKeyError at /'file'
The template has
…<form method="POST" enctype="multipart/form-data">{% csrf_token %} <div class="file-field input-field"> <div class="btn"> <span>Upload a CSV FILE</span> <input type="file" name="file"> </div> <div class="file-path-wrapper"> <input class="file-path