0

I would like to have more than one button in a post Form. Something Like Insert, Delete, Update... but I only can have a button in a post form...

I am using this, is this efficient?

def post(self):
    action = self.request.get("action")

    if action == "insert" :
        self.write("Insert")

    if action == "update" :
        self.write("update")
Martin Evans
  • 43,220
  • 16
  • 78
  • 90

0 Answers0