edit form view in python html code example
Example: django edit model data in django view
emp = Employee.objects.get(pk = emp_id)
emp.name = 'Somename'
emp.save()
emp = Employee.objects.get(pk = emp_id)
emp.name = 'Somename'
emp.save()