I'm using crud to create a mini CMS type of functionality. I'm using
the example on p. 218 of the doc v2 as a guide. (I'm reproducing it
here for reference.)

1 # assuming db.define_table('person', Field('name'))
2 def people():
3 form = crud.create(db.person, next=request.url,
4 message=T("record created"))
5 persons = crud.select(db.person, fields=['name'],
6 headers={'person.name', 'Name'})
7 return dict(form=form, persons=persons)

When I click on the ID of any record, the URL says ...app/read/mytable/
id#. I really want an update, not a read. How do I coax it into doing
an update? That being said, when I do click on the ID link, I get an
invalid function page. What am I doing wrong?

-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.

Reply via email to