start app controllers that aims to replace liquidsoap on long term, and be more generic and reusable

This commit is contained in:
bkfox
2016-07-12 11:11:21 +02:00
parent 37b807b403
commit 0d75f65ed4
12 changed files with 988 additions and 87 deletions

View File

@ -340,16 +340,9 @@ class Controller:
if not config:
return
log_script = main_settings.BASE_DIR \
if hasattr(main_settings, 'BASE_DIR') else \
main_settings.PROJECT_ROOT
log_script = os.path.join(log_script, 'manage.py') + \
' liquidsoap_log'
context = {
'controller': self,
'settings': settings,
'log_script': log_script,
}
# FIXME: remove this crappy thing