Moved original settings to be common includes.
This commit is contained in:
0
mayan/settings/__init__.py
Normal file
0
mayan/settings/__init__.py
Normal file
0
mayan/settings/includes/__init__.py
Normal file
0
mayan/settings/includes/__init__.py
Normal 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
|
||||
Reference in New Issue
Block a user