예제 #1
0
def manage_banner_post_(request):
    form = request.web_input(image="")

    banner.upload(request.userid, form.image)
    raise HTTPSeeOther(location="/control")
예제 #2
0
def manage_banner_post_(request):
    form = request.web_input(image="")

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

        banner.upload(self.user_id, form.image)
        raise web.seeother("/control")
예제 #4
0
파일: moderation.py 프로젝트: Syfaro/weasyl
def removebanner(userid, otherid):
    banner.upload(otherid, None)
    note_about(userid, otherid, 'Banner was removed.')
예제 #5
0
def removebanner(userid, otherid):
    banner.upload(otherid, None)
    note_about(userid, otherid, 'Banner was removed.')
예제 #6
0
파일: settings.py 프로젝트: 0x15/weasyl
    def POST(self):
        form = web.input(image="")

        banner.upload(self.user_id, form.image)
        raise web.seeother("/control")