diff mbox

[Branch,~linaro-validation/lava-server/trunk] Rev 214: In development mode keep media files separate for each database

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

Commit Message

Zygmunt Krynicki July 20, 2011, 8:36 p.m. UTC
------------------------------------------------------------
revno: 214
committer: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
branch nick: trunk
timestamp: Wed 2011-07-20 22:30:04 +0200
message:
  In development mode keep media files separate for each database
modified:
  lava_server/settings/development.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/development.py'
--- lava_server/settings/development.py	2011-07-13 10:26:20 +0000
+++ lava_server/settings/development.py	2011-07-20 20:30:04 +0000
@@ -110,7 +110,7 @@ 
 
 # Absolute filesystem path to the directory that will hold user-uploaded files.
 # Example: "/home/media/media.lawrence.com/"
-MEDIA_ROOT = os.path.join(PROJECT_STATE_DIR, "media")
+MEDIA_ROOT = os.path.join(PROJECT_STATE_DIR, "media", devel_db)
 
 # Absolute filesystem path to the directory that will hold static, read only
 # files collected from all applications.