Hi, I try to use DAL as standalone but I got this message back :
TypeError: __init__() got an unexpected keyword argument 'lazy_tables'
Here's the code placed in test.py which is in applications/myap/modules :
_______________________________________________________________________
from gluon.dal import DAL
from gluon.dal import Field
from gluon.validators import *
db = DAL('sqlite://storage.sqlite', lazy_tables=True)
_______________________________________________________________________
Web2py Version is 2.9.12-stable+timestamp.2015.01.17.06.11.03
Thank you,
--
“One original thought is worth a thousand mindless quotings.”
“Le vrai n'est pas plus sûr que le probable.”
Diogene Laerce
--
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.
signature.asc
Description: OpenPGP digital signature

