Don't call process() here, see the Web2py book for an example using a form and
the full story at
http://web2py.com/books/default/chapter/29/07/forms-and-validators
Nico
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
I have created wall.html where users can edit their dp (display picture).
And I added extra field for dp in auth:
auth = Auth(db)
auth.settings.extra_fields['auth_user']= [
Field('dp', type='upload' ),
]
wall is:
def wall():
form = SQLFORM(db.auth_user.dp).process()
return loca
2 matches
Mail list logo