I am using the stable source code version of web2py. I created an
application via the wizard and specified a MySQL database URI at that time.
Now, 2 days later, I went looking for my data and realized it is in
storage.sqlite... why? Because the automatically-created models/db.py
attempts to connect to the database via AppConfig().get('db.uri')
However models/0.py binds settings.database_uri to another value, which was
set during the wizard dialogue.
As a result, all of my data is in a SQLite database (because of the
default setting of AppConfig().get('db.uri')) instead of being in the
MySQL database I configured via the wizard dialogue.
Has this been addressed in the bleeding edge versions of web2py?
--
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.