Changes to local_settings.py not effective

My local_settings.py is under/usr/share/dashboard/dashboard/local/ and is linked to /etc/dashboard/local_settings.py and I made a change to use memcached based session_engine instead of cookies. I restarted the Apache server on Ubuntu.

I see that local_settings.pyc not updated and my changes are not effective. If I remove local_settings.pyc Apache complains that local_setting is missing but it is not creating a new one even after restart.

1 answer

Like Jarvis said, check your logs and another thing comes into my mind: what are the file permission settings? Apache/horizon should run as a specific user and can not write the *.pyc file if it's owned by root and only root can write it.