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
  • 45,791
  • 17
  • 81
  • 97

0 Answers0