[web2py] Re: SQLFORM Update MongoDB

2013-07-31 Thread Eduard Thamm
Hi! First of all, thanks for looking in to it. Just to make sure I understand the problem. First call happens via get on submission a post happens, since those are different web2py converts the id parameter to a list since it can for some reason not determine what else to do. Is that near the

[web2py] SQLFORM Update MongoDB

2013-07-31 Thread Eduard Thamm
Hello everyone! I am rather new to web2py so this may be an obvious thing, but please bear with me. I wrote a function to update a document in my MongoDB which looks like this: record = db(db.stuff.id == request.vars.id).select().first() form = SQLFORM(db.stuff, record) which works fine the fi