settings: Fix definition of DEPLOY_ROOT in dev_settings too.

This commit is contained in:
Tim Abbott 2019-03-04 18:45:57 -08:00
parent 4813d070b0
commit 36345fd02a
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ from typing import Set
# chdir without having problems accessing it. Unfortunately, this
# means we need a duplicate definition of DEPLOY_ROOT with the one in
# settings.py.
DEPLOY_ROOT = os.path.join(os.path.realpath(os.path.dirname(__file__)), '..')
DEPLOY_ROOT = os.path.realpath(os.path.dirname(os.path.dirname(__file__)))
LOCAL_UPLOADS_DIR = os.path.join(DEPLOY_ROOT, 'var/uploads')
FORWARD_ADDRESS_CONFIG_FILE = "var/forward_address.ini"