aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-12-06 11:37:58 +0000
committerPaul Eggleton <paul.eggleton@linux.intel.com>2012-12-06 11:37:58 +0000
commit473c6c505ea7ed0475dd686e8662753b2f831abf (patch)
treedae20c2d3ede87c50f07f289128f0291688fe131
parent0cf5ec8335ed0bf6454aa7ec481b4a72b8ef305f (diff)
downloadbuildhistory-web-473c6c505ea7ed0475dd686e8662753b2f831abf.tar.gz
buildhistory-web-473c6c505ea7ed0475dd686e8662753b2f831abf.tar.bz2
buildhistory-web-473c6c505ea7ed0475dd686e8662753b2f831abf.zip
settings.py: add note about using the full path to the db
If using sqlite3, the full path should be specified, otherwise if the import script or possibly other scripts are run from another directory they won't find the correct database file. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
-rw-r--r--settings.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.py b/settings.py
index 961a626..004e742 100644
--- a/settings.py
+++ b/settings.py
@@ -12,7 +12,7 @@ MANAGERS = ADMINS
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
- 'NAME': '', # Or path to database file if using sqlite3.
+ 'NAME': '', # Or path to database file if using sqlite3 (full path recommended).
'USER': '', # Not used with sqlite3.
'PASSWORD': '', # Not used with sqlite3.
'HOST': '', # Set to empty string for localhost. Not used with sqlite3.