title: How to check for empty request.FILE in Django
body: <p>I want to submit a form even without uploading an image. But I got the error </p>
  
  <pre><code>**MultiValueDictKeyError**
  </code></pre>
  
  <p>This is my views.py</p>
  
  <pre><code>filepath = request.FILES['filepath']
  </code></pre>