Moved original settings to be common includes.

This commit is contained in:
pwhipp
2014-07-10 16:13:30 +10:00
parent 0ef00b5082
commit 4b30eb7ff9
3 changed files with 3 additions and 2 deletions

View File

View File

View File

@@ -13,8 +13,9 @@ 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__), '..'))
_file_path = os.path.abspath(os.path.dirname(__file__)).split('/')
BASE_DIR = '/'.join(_file_path[0:-2])
SITE_ROOT = '/'.join(_file_path[0:-3])
# Quick-start development settings - unsuitable for production