I'm using the latest version of web2py and I'm not sure why the SQLFORM is
not working on GAE. Out of GAE webserver the form works as expected, but on
gae it doesn't return anything, just refreshs the page...

*
form=SQLFORM(db.jogo,fields=['nome','console','descricao','foto'],submit_button='Adicionar')
    if form.accepts(request.vars, session):
        session.flash='Jogo adicionado'
        redirect(URL('adicionar_jogo'))
    elif form.errors:
        response.flash='Existem errors no formulário'

    return dict(form=form,table=powerTable.create())*


Anything missing there?

Regards,

Tito

-- 

Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______

Reply via email to