if you don't define table and you don't have auto_import=True, why are you 
expecting db.tables to show something ?

Il giorno mercoledì 19 dicembre 2012 15:11:51 UTC+1, Kostas M ha scritto:
>
> Trying to use DAL in my functional_tests.py (sitting in the application 
> directory), I get the following warning:
>
> In [1]: from gluon import DAL
> WARNING:root:Unable to import plural rules: No module named plural_rules
>
> Furthermore, the db seems to be empty, although it has proper tables, as 
> seen by Sqliteman.
> "test.sqlite" is a copy from the storage.sqlite 'normal' database.
> For instance:
>
> In [9]: db = DAL('sqlite://test.sqlite', folder='databases', 
> migrate_enabled=False)
>
> In [10]: db.tables
> Out[10]: []
>
> What am I doing wrong?
>

-- 



Reply via email to