On Dec 15, 10:40 pm, mdipierro <[email protected]> wrote:
> I need a concrete example of URL and what you find in vars, get_vars
> and post_vars

Model:
db.define_table('atable',
                Field('afield'))

Controller:
def test():
    form = crud.create(db.atable)
    return dict(form=form)

URL:
http://127.0.0.1:8000/sahana/test/test?format=test
request.vars    afield          wqrrwqe         _formkey        
880cbe69-a4fc-43cc-
a97d-724c215601ba       _formname       atable/None     _next
request.get_vars        format  test
request.post_vars       afield  wqrrwqe         _formkey        
880cbe69-a4fc-43cc-
a97d-724c215601ba       _formname       atable/None     _next

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" 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/web2py?hl=en.


Reply via email to