db.define_table('jogo',
Field('nome',requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB(db, 'jogo.nome')]),
Field('console',requires=IS_IN_SET(['PS3','Xbox','Wii'])),
Field('descricao','text',requires=IS_NOT_EMPTY()),
Field('foto','upload',autodelete=True, label='Capa'),
Field('youtube_link',requires=IS_EMPTY_OR(IS_URL()), readable=False,
writable=False),
Field('aprovado', 'boolean', default=False),
format='%(nome)s - %(console)s')
No exception message, there is no error, it just doesn't add any entry to
db. (only happening on GAE)
On Thu, Jan 20, 2011 at 8:32 PM, Martin.Mulone <[email protected]>wrote:
> db definition?.
> exception message?.
>
>
>
--
Linux User #387870
.........____
.... _/_õ|__|
..º[ .-.___.-._| . . . .
.__( o)__( o).:_______