Massimo-
Thanks! That fixed it.
Dan

On Jun 2, 1:21 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> You can use
>
> form=SQLFORM(db.table,record_id,ignore_rw=True)
> if form.accepts(request.vars, session):
>     # do something
> return dict(form=form)
>
> On Jun 2, 12:28 pm, Dan <danbr...@gmail.com> wrote:
>
> > When running an app on GAE, I need to have a way to edit the data in
> > the datastore. So I'd like to use the crud tools for this. However,
> > I'm not able to update the fields in the tables that are set to be
> > readable=False, writable=False. My auth_user table has a few of these
> > fields - stuff to describe the users that I don't want them to be able
> > to edit or view, like validation_key.
>
> > The strange part is that the values for these fields show up when
> > looking at the select/tablename URL, 
> > eg.http://127.0.0.1:8080/init/default/data/update/auth_user/37
> > This is the summary view, where only the first portion of the fields'
> > values are displayed, and I can't edit those values.
>
> > So to edit them, I click on the "37" and go to a new view where I see
> > no information listed for those fields with readable/writable=False,
> > either on the read or update URLs, 
> > eg.http://127.0.0.1:8080/init/default/data/read/auth_user/37http://127.0...
>
> > How can I get access to view and edit these fields? Do I need to make
> > my own crud form?
> > Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@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