This commit is contained in:
Usman Nasir
2019-12-13 14:58:40 +05:00
parent 560f7f7c4e
commit d2a3f1cc32

View File

@@ -3,7 +3,9 @@ import os
import os.path
import sys
import django
PACKAGE_PARENT = '..'
SCRIPT_DIR = os.path.dirname(os.path.realpath(os.path.join(os.getcwd(), os.path.expanduser(__file__))))
sys.path.append(os.path.normpath(os.path.join(SCRIPT_DIR, PACKAGE_PARENT)))
sys.path.append('/usr/local/CyberCP')
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "CyberCP.settings")