def control_removecommishprice_(request): priceid = define.get_int(request.params.get('priceid', "")) if not priceid: raise WeasylError("priceidInvalid") commishinfo.remove_price(request.userid, priceid) raise HTTPSeeOther(location="/control/editcommissionsettings")
def control_removecommishprice_(request): form = request.web_input(classid="") commishinfo.remove_price(request.userid, form.priceid) raise HTTPSeeOther(location="/control/editcommissionprices")
def POST(self): form = web.input(classid="") commishinfo.remove_price(self.user_id, form.priceid) raise web.seeother("/control/editcommissionprices")
def control_removecommishprice_(request): form = request.web_input(priceid="") commishinfo.remove_price(request.userid, form.priceid) raise HTTPSeeOther(location="/control/editcommissionsettings")