title: POST and models not matching - causing MultiValueDictKeyError
body: <p>I inserted new model fields into my existing model in Django yesterday. This is how it looks:</p>
  <p><a href="https://i.stack.imgur.com/gbxn6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gbxn6.png" alt="enter image description here" /></a></p>
  <p>Then I ran these two commands-</p>
  <pre><code>python manage.py makemigrations
  python manage.py migrate
  </code></pre>
  <p>In my views.py I try to get from the post request all the added fields, but it gives me this error:</p>
  <p><a href="https://i.stack.imgur.com/TE9xx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TE9xx.png" alt="enter image description here" /></a></p>
  <p>When I look into the POST itself I see that none of my new fields were added!</p>
  <p><a href="https://i.stack.imgur.com/PLlGz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PLlGz.png" alt="enter image description here" /></a></p>
  <p>I understand that the fields are non-exsistent in the new request.POST, so the error pops in this part of the code:</p>
  <pre><code>def updaterecord(request, id):
        group_name = request.POST['group']
        sale_rent = request.POST['sale_rent']
        street = request.POST['street']
        city = request.POST['city']
        rooms = request.POST['rooms']
        size = request.POST['size']
        floor = request.POST['floor']
        porch = request.POST['porch']
        storage = request.POST['storage']
        mamad = request.POST['mamad']
        elevator = request.POST['elevator']
        parking = request.POST['parking']
        price= request.POST['price']
        phone= request.POST['phone']
        date = request.POST['user_date']
  </code></pre>
  <p>I just don't understand how to solve this, is there any updates or commands I need to make?
  I don't remember how I solved it last time or how to avoid it in the future.
  Help please :-)</p>
  <p>Additional Information-
  the sqliteDB does have all the fields in it, so this is how my main website looks...</p>
  <p><a href="https://i.stack.imgur.com/H1s0u.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/H1s0u.png" alt="enter image description here" /></a></p>