biolab / orange-web

Orange Data Mining Homepage
https://orange.biolab.si
16 stars 21 forks source link

Pull request. #11

Closed mihajenko closed 10 years ago

mihajenko commented 10 years ago

Debug mode is set to False. In order for the app to reach static files, if production is running django's server, restart it with "manage.py runserver --insecure", in order to skip static files configuration. On any other server setup, this needs to be done first, otherwise re-enable debug mode.

mstajdohar commented 10 years ago

This is usually solved with another settings file, e.g. settings_production.py that imports settings.py and overrides variables like DEBUG etc. For development you still use settings.py, whereas in production environment you use settings_production.py.