예제 #1
0
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")
예제 #2
0
def control_removecommishprice_(request):
    form = request.web_input(classid="")

    commishinfo.remove_price(request.userid, form.priceid)
    raise HTTPSeeOther(location="/control/editcommissionprices")
예제 #3
0
파일: settings.py 프로젝트: weykent/weasyl
    def POST(self):
        form = web.input(classid="")

        commishinfo.remove_price(self.user_id, form.priceid)
        raise web.seeother("/control/editcommissionprices")
예제 #4
0
def control_removecommishprice_(request):
    form = request.web_input(priceid="")

    commishinfo.remove_price(request.userid, form.priceid)
    raise HTTPSeeOther(location="/control/editcommissionsettings")
예제 #5
0
파일: settings.py 프로젝트: 0x15/weasyl
    def POST(self):
        form = web.input(classid="")

        commishinfo.remove_price(self.user_id, form.priceid)
        raise web.seeother("/control/editcommissionprices")