Fix access to SECRET_KEY in settings.py.