1
vote
Accepted
1
vote
Accepted
Pset7 Finance Key Error in Buy
Use :id, not :username. The error appears because you have :username that is never set and id= that is never used.
Also, use style50, which outputs recommendations according to PEP8, which states in ...
1
vote
Accepted
Strange sudden error in pset7 staff implemented login (key error 'id')
That error from the supplied login means there is no column named id in the users table. It doesn't seem to have anything to do with indexes. Assuming the rest of the table is intact, you might try ...
Only top scored, non community-wiki answers of a minimum length are eligible