So, in my db.py, I defined a table as such:
db.define_table('dummy',
Field('name'),
Field('category'),
Field('number'))
But how would I add my own values in that table? It seems like if I do
something like:
db.dummy.insert(name='jon',category='cat',number='2')
I get a "Database is locked" error. So, how can I have my own manual table?
I am using SQLite.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.