diff options
author | Code Raguet <ignacio.code@gmail.com> | 2013-09-17 20:19:09 (GMT) |
---|---|---|
committer | Code Raguet <ignacio.code@gmail.com> | 2013-09-17 20:19:09 (GMT) |
commit | 369ddca70bf9894664b6aa97e9003577e49ca03b (patch) | |
tree | 626a63967136a74b4ef52463c7d9651211e0ce52 /webapp | |
parent | aa7e66ea8312a4103073eb188d2e3dcb15d3f540 (diff) |
change IMAGE_OPTIONS_ROOT to be inside MEDIA_ROOT)
Diffstat (limited to 'webapp')
-rw-r--r-- | webapp/webapp/test_settings.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/webapp/webapp/test_settings.py b/webapp/webapp/test_settings.py index e404c9e..9f96791 100644 --- a/webapp/webapp/test_settings.py +++ b/webapp/webapp/test_settings.py @@ -1,4 +1,6 @@ # Django settings for test server. +import os + from settings import * from utils.mongo_connection import register_connection @@ -41,4 +43,4 @@ class MockClock(object): CLOCK_CLASS = "webapp.test_settings.MockClock" -IMAGE_OPTIONS_ROOT = '/tmp' +IMAGE_OPTIONS_ROOT = os.path.join(MEDIA_ROOT, 'test') |