Re: [web2py] Re: creating a db table doesn't actually create a table (sqllite)

2019-02-25 Thread Eliezer (Vlad) Tseytkin
Got it, thank you! On Mon, Feb 25, 2019, 8:22 PM Anthony wrote: > We can probably change this, but web2py will ignore files with hyphens in > the name (it uses a regex with \w to match file names). Note, at least > for packages and modules, PEP 8 >

Re: [web2py] Re: creating a db table doesn't actually create a table (sqllite)

2019-02-25 Thread Anthony
We can probably change this, but web2py will ignore files with hyphens in the name (it uses a regex with \w to match file names). Note, at least for packages and modules, PEP 8 recommends only lowercase letters and underscores

Re: [web2py] Re: creating a db table doesn't actually create a table (sqllite)

2019-02-25 Thread Eliezer (Vlad) Tseytkin
The following tables have been created: ..._auth_cas.table ..._auth_event.table ..._auth_group.table ..._auth_membership.table ..._auth_permission.table ..._auth_user.table and work just fine. Now, I created the table 'inquiry'. When the code that creates it is located in mini-site.py (in models

[web2py] Re: creating a db table doesn't actually create a table (sqllite)

2019-02-24 Thread Massimo Di Pierro
How do you know the table has not been created? Do you have database/*.table files? If this is a new app and you are sure the tables are not created, try delete those files. On Sunday, 24 February 2019 15:58:20 UTC-8, Vlad wrote: > > When I define a table in db.py - it's just fine. But if I crea