Set the SITE_ROOT to be the same as the BASE_DIR by default

Useful for PYPI based installs, can be updated easily
This commit is contained in:
Roberto Rosario
2014-06-29 18:25:54 -04:00
parent 2c37dd06bc
commit d899d67311

View File

@@ -14,7 +14,7 @@ import os
ugettext = lambda s: s
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
SITE_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
SITE_ROOT = BASE_DIR
# Quick-start development settings - unsuitable for production