fix py3 bug and make settings import clearer

This commit is contained in:
Philip Sargent
2020-05-26 02:21:03 +01:00
parent 6ae5c0d912
commit f4099c6929
2 changed files with 13 additions and 6 deletions

View File

@@ -4,6 +4,7 @@ import urllib.parse
import django
print("** importing settings.py")
from localsettings import *
#inital localsettings call so that urljoins work
@@ -14,8 +15,6 @@ from localsettings import *
#Local application/library specific imports.
#You should put a blank line between each group of imports.
print("** importing settings.py")
print("--**-- REPOS_ROOT_PATH: ", REPOS_ROOT_PATH)
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(__file__))