Beispiel #1
0
 def kindedit(self, **args):
     self.common()
     if ('kindName' in args.keys()):
         self._kindedittemplate.kind = Kind.form_to_object(Kind, args)
         return self.kindlist()
     else:
         self._kindedittemplate.kind = Kind.form_to_object(Kind, args)
         return self._kindedittemplate.respond()
Beispiel #2
0
 def kindedit(self,**args):
     self.common()
     if ('kindName' in args.keys()):
         self._kindedittemplate.kind=Kind.form_to_object(Kind,args)
         return self.kindlist()
     else:
         self._kindedittemplate.kind=Kind.form_to_object(Kind,args)
         return self._kindedittemplate.respond()