Fixed settings_local.py database path not being absolute.
Review Request #7684 — Created Oct. 9, 2015 and submitted — Latest diff uploaded
When running rb-vm-env on Vagrant, would get relative database path in settings_local.py, which would cause some errors. Such as:
"Testing a SFTP-backed bzr repository ... ERROR:root:Could not load siteconfig: no such table: django_site"Added an import and a path variable to settings_local.py.tmpl
Edited a string that prepare-dev.py wrote into the template.
Performed Review Board unit tests
$cd /src/reviewboard
$./reviewboard/manage.py testRan prepare-dev.py to check if it would create settings_local.py correctly.
Diff Revision 2
This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.
orig
1
2
3
contrib/conf/settings_local.py.tmpl |
---|
contrib/internal/prepare-dev.py |
---|