emp.name = request.POST.get('name')
emp.save()
return HttpResponse('updated')

def delete(request, id):
    emp = Employee.objects.get(pk=id)
emp.delete()
return HttpResponse('deleted')
How do I edit and delete data in Django?