Default settings.py file should fully qualify database name setting
|Reported by:||anonymous||Owned by:||nobody|
|Severity:||Normal||Keywords:||settings, database name, sqlite3|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
While struggling through trying to get a WSGI implementation of Django+Pinax up and running, I finally went back to the basics and just tried to get an "out of the box" Pinax basic project working.
It worked fine using the development web server, but failed with the WSGI setup.
I finally narrowed it down to the fact that Apache couldn't find the sqlite3 database. And that was because the name wasn't fully qualified.
My solution was to change the default definition of the database name in settings.py to
Not a major bug here, but I believe that the "out of the box" solution should work in multiple environments without jumping through a lot of hoops. It just would have made my troubleshooting tonight a lot easier.