kopia lustrzana https://github.com/hholzgra/maposmatic/
OCitysMap base installation path no longer hardcoded
rodzic
60cf27ad0e
commit
cc4feb7885
|
@ -83,8 +83,7 @@ TEMPLATES = [
|
|||
'DIRS': [
|
||||
os.path.join(PROJECT_PATH, 'templates'),
|
||||
os.path.join(PROJECT_PATH, 'maposmatic/templates'),
|
||||
# TODO ocitysmap path should not be hardcoded
|
||||
os.path.join('/home/maposmatic/ocitysmap/templates'),
|
||||
OCITYSMAP_PATH,
|
||||
],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
|
|
|
@ -32,6 +32,11 @@ import sys
|
|||
# sys.path.append('/path/to/ocitysmap')
|
||||
# sys.path.append('/path/to/lib/python/site-packages')
|
||||
|
||||
# path to OCitysMap installation
|
||||
OCITYSMAP_PATH='/home/maposmatic/ocitysmap'
|
||||
sys.path.append(OCITYSMAP_PATH)
|
||||
|
||||
|
||||
DEBUG = True
|
||||
|
||||
ADMINS = (
|
||||
|
|
Ładowanie…
Reference in New Issue