add new data and editor permissions

This commit is contained in:
Laura Klünder 2018-09-19 19:08:47 +02:00
parent 8ffa982882
commit b88b6c3a29
18 changed files with 160 additions and 60 deletions

View file

@ -41,6 +41,9 @@ if not os.path.exists(TILES_ROOT):
if not os.path.exists(CACHE_ROOT):
os.mkdir(CACHE_ROOT)
PUBLIC_EDITOR = config.get('c3nav', 'editor', fallback=True)
PUBLIC_BASE_MAPDATA = config.get('c3nav', 'public_base_mapdata', fallback=False)
if config.has_option('django', 'secret'):
SECRET_KEY = config.get('django', 'secret')
else: