uploading fix to trunk. Please give it a try.
On Oct 11, 5:45 pm, Ivan Matveev <[email protected]> wrote: > Hi All! > > Dealing with a legacy db. > > the model: > > db.define_table('cars', > Field('car_id','integer',writable=False), > Field('model_id','integer'), > primarykey=['car_id'], > migrate=False > ) > > If I go to appadmin and try to update any row in the table i get : > > SyntaxError: user is tampering with form's record_id: {'car_id': '9'} ! > = {'car_id': 9L} > > link to update > formhttp://127.0.0.1:8000/myapp/appadmin/update/db/cars?car_id=3 > > If i change primary key type: > Field('car_id','id',writable=False), #notice 'id' type > > I can see the table in appadmin, but when i click on a link that shell > bring me to update form I see the table again. > > link to update formhttp://127.0.0.1:8000/myapp/appadmin/update/db/cars/3

