diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 192: Move dataview database logic to lava-dashboard

Message ID 20110708030054.11148.45770.launchpad@loganberry.canonical.com
State Accepted
Headers show

Commit Message

Zygmunt Krynicki July 8, 2011, 3 a.m. UTC
------------------------------------------------------------
revno: 192
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: trunk
timestamp: Thu 2011-07-07 20:15:31 +0200
message:
  Move dataview database logic to lava-dashboard
modified:
  lava_server/settings/debian.py


--
lp:lava-server
https://code.launchpad.net/~linaro-validation/lava-server/trunk

You are subscribed to branch lp:lava-server.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-server/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_server/settings/debian.py'
--- lava_server/settings/debian.py	2011-07-01 11:09:58 +0000
+++ lava_server/settings/debian.py	2011-07-07 18:15:31 +0000
@@ -13,14 +13,6 @@ 
     'default': debian_settings.default_database
 }
 
-# Enable constrained dataview database if requested
-if debian_settings._settings.get("use_dataview_database"):
-    # Copy everything from the default database and append _dataview to user
-    # name. The rest is out of scope (making sure it's actually setup
-    # properly, having permissions to login, permissions to view proper data)
-    DATABASES['dataview'] = dict(DATABASES['default'])
-    DATABASES['dataview']['USER'] += "_dataview"
-
 # Load secret key from Debian integration
 SECRET_KEY = debian_settings.SECRET_KEY