[web2py-dev] set IS_IN_DB and lazy tables

42 views
Skip to first unread message

Richard

unread,
Mar 15, 2017, 12:30:18 PM3/15/17
to web2py-developers
Hello,

Please have a look here : https://groups.google.com/d/msg/web2py/QGxZpM8vYy8/i2Hgfwb3AwAJ

And here : https://github.com/web2py/pydal/issues/455

I would like to know if there is something that can be done to make use set inside IS_IN_DB() and not trigger tables definition in context of lazy_tables = True.

I need to know before undertake a huge refactoring and pull out requires=IS_IN_DB() that requires set from define_table()...

Thanks

Richard

Anthony

unread,
Mar 15, 2017, 1:50:01 PM3/15/17
to web2py-developers
As mentioned here, put it in on_define.

Anthony
Reply all
Reply to author
Forward
0 new messages