forked from expo/troggle
fix py3 bug and make settings import clearer
This commit is contained in:
@@ -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__))
|
||||
|
||||
Reference in New Issue
Block a user