secret key can be read from file. formatting updates. warning if running views.py directly