title: Django | Not Found issue while updating record
body: <p><a href="https://i.stack.imgur.com/IqXmV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/IqXmV.png" alt="This is the update form template front end" /></a></p>
  <p><a href="https://i.stack.imgur.com/7ef0N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7ef0N.png" alt="this is the issue I get when click on form submit button" /></a></p>
  <p><a href="https://i.stack.imgur.com/engwn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/engwn.png" alt="This is the coding of update template" /></a></p>
  <p><strong>Other Coding I did</strong></p>
  <p><em><strong>urls.py of web app path adding</strong></em>:</p>
  <pre><code>path('update/updaterecord/&lt;int:id&gt;', views.updaterecord, name='updaterecord'),
  </code></pre>
  <p><em><strong>views.py file of web app : update coding info</strong></em>:</p>
  <pre><code>def updaterecord(request, id):
    first = request.POST['first']
    last = request.POST['last']
    member = Members.objects.get(id=id)
    member.firstname = first
    member.lastname = last
    member.save()
    return HttpResponseRedirect(reverse('index'))
  </code></pre>