Re: [web2py] Changed field name in table def, database OK, but getting key error

2011-08-25 Thread Richard Vézina
Hello Eric, I would help, but I have no clue... Do you alternate between SQLite and Postgres? If yes, web2py always try to recreate the auth(s) tables that is a problem I often have... To solve it you must define the auth(s) tables in the db.py and set them to migrate=false... so web2py stop to t

[web2py] Changed field name in table def, database OK, but getting key error

2011-08-25 Thread Eric Scott
I'm using postgresql. I had to change a field name in my table def, which are in the web2py models. The database changed accordingly, but now I get a key error when I try to insert a new record using appadmin. I made sure appadmin.py is the latest and greatest. Still getting key error. I don't