[bitbake-devel] [PATCH 13/94] bitbake: webhob: set sane default settings

Alex DAMIAN alexandru.damian at intel.com
Tue Sep 24 16:51:42 UTC 2013


From: Alexandru DAMIAN <alexandru.damian at intel.com>

Changes the default Django settings as to point
to sane default of using sqlite by default. This
is the preffered running mode for webhob.

Changes the list of installed applications.

Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 bitbake/lib/webhob/whbmain/settings.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/bitbake/lib/webhob/whbmain/settings.py b/bitbake/lib/webhob/whbmain/settings.py
index 71bba4f..cd9dbe8 100644
--- a/bitbake/lib/webhob/whbmain/settings.py
+++ b/bitbake/lib/webhob/whbmain/settings.py
@@ -11,8 +11,8 @@ MANAGERS = ADMINS
 
 DATABASES = {
     'default': {
-        'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
-        'NAME': '',                      # Or path to database file if using sqlite3.
+        'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
+        'NAME': 'webhob.sqlite',                      # Or path to database file if using sqlite3.
         'USER': '',
         'PASSWORD': '',
         'HOST': '127.0.0.1',                      # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
@@ -124,6 +124,8 @@ INSTALLED_APPS = (
     # Uncomment the next line to enable admin documentation:
     # 'django.contrib.admindocs',
     'orm',
+    'whbmain',
+    'bldviewer',
 )
 
 # A sample logging configuration. The only tangible logging
-- 
1.8.1.2




More information about the bitbake-devel mailing list