I think you forgot to return locals:

def project_edit():
    project = db.projects.request.args(0)
    form = crud.update(db.projects, project , next='projects')
*return locals()*

def user_edit():
    user = db.users(request.args(0))
    form = crud.update(db.users, user, next = 'users')
*return locals()*



El 17/07/13 15:51, Alan Etkin escribió:
def project_edit():
    project = db.projects.request.args(0)
    print project
    form = crud.update(db.projects, project , next='projects')

def user_edit():
    user = db.users(request.args(0))
    print user
    form = crud.update(db.users, user, next = 'users')

Try this new functions and tell us what you see at the console output when you open those actions.

For more advanced debugging cosider using the built-in feature
http://www.web2py.com/books/default/chapter/29/03?search=debugger

--

---
You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.



--

--- You received this message because you are subscribed to the Google Groups "web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


<<attachment: kverdecia.vcf>>

Reply via email to