I just started a brand-new app through the wizard and plugged in my mysql
database settings during the setup process. I see that in 0.py I have the
following :
settings.database_uri = 'mysql://user:pass@server/database' (i censored the
original)
but in db.py it says:
if not request.env.web2py
0.py is not a web2py file. It is created by the wizard. If a variable
is not used is a bug in the wizard.
Massimo
On Feb 7, 7:21 pm, devGS wrote:
> I saw that object 'settings' is defined at 0.py, but I didn't see any
> usage of 'settings'. For instance, in db.py, instead of reusing the
> 0.py's
2 matches
Mail list logo