Example #1
0
 def save(self, force_insert=False, force_update=False, using=None):
     print "AppVersion save sucess"
     import node.node2appmgr as appmgr
     if not appmgr.addModifyVersion(self.am_appid, self.__dict__):
         raise Exception("Exception: post addModifyVersion error")
Example #2
0
def addModifyVersion(**kwargs):
    appid = int(kwargs.pop("appid"))
    return HttpResponse(am.addModifyVersion(appid, **kwargs))