rdmorganiser / rdmo-app

Apache License 2.0
2 stars 17 forks source link

Adding BASE_DIR import when using 'theme' #2

Closed jmfrenzel closed 6 years ago

jmfrenzel commented 6 years ago

relates to #1

Using the config/settings/local.py being generated from config/settings/sample.local.py the app will not find start and crashes when having uncommented

THEME_DIR = os.path.join(BASE_DIR, 'theme')

The reason is that BASE_DIR is not defined because we also must import it in the first place via

import os
from . import BASE_DIR
jochenklar commented 6 years ago

Thanks!