TampereHacklab / mezzanine

Tampere Hacklab's Mezzanine CMS (aka web pages)
0 stars 1 forks source link

Django running with debug=true #2

Closed tswfi closed 5 years ago

tswfi commented 5 years ago

https://tampere.hacklab.fi/asdf/

shows that the site is running with debug = true

tswfi commented 5 years ago

local_settings.py contains DEBUG=True

too tired to change it right now.

tswfi commented 5 years ago

it looks like the apache proxy is not configured to serve the static files, django wont serve them either if debug=false..

vranki commented 5 years ago

Yep, this change must be done in apache-proxy config. I don't remember if mezzanine container exposes the static directory - that must also be done if it's not found.

tswfi commented 5 years ago

This was fixed

https://matrix.to/#/!jyWBEJPyRHmMunoagX:irc.snt.utwente.nl/$1558796263391520SfoWd:matrix.org?via=irc.snt.utwente.nl&via=hacklab.fi&via=matrix.org

:+1: