If you have code like:

    class something:
        def GET(self):
            # show something
        def POST(self):
            i = web.input()
            if i.somefield:
                db.insert(params for insert)
                message = "SUCESS! Hooray!"
            else:
                message = "ERROR!!!"
            raise web.seeother(someurl)

How do you get the `message` to display in whatever template is used for GET?

TIA,

-- 
Branko

eml: [email protected]
alt: [email protected]
blg1: http://sudologic.blogspot.com/
blg2: http://brankovukelic.blogspot.com/
img: http://picasaweb.google.com/bg.branko
twt: http://www.twitter.com/foxbunny/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to