Use this pattern below everywhere you define a table:
if not 'mytable' in db.tables:
db.define_table('mytable', ...)
I always use it.
--
Vinicius Assef
On 07/03/2012 07:33 AM, selecta wrote:
In my project I use conditional models since I have a lot of tables.
However I have a problem si
In my project I use conditional models since I have a lot of tables.
However I have a problem since one of the database tables (defined in a
conditional model) has to be defined in another conditional model
here an example
/models/plugin_restapidoc/plugin_restapidoc.py
/models/wizard/wizard.py
/m
2 matches
Mail list logo