I have this model in web2py DAL:
db.define_table('category',
Field('name','string'),
format='%(name)s'
)
db.define_table('uploaded_question',
Field('text','string'),
...
Field('category', 'string')
)
This:
db.category(db.category.name == uploaded_question.category) always
returns none in GAE sandbox (it works fine in SQLlite).
How should I adapt this sentence to work in GAE?