moved heroku specific bits to the bottom of settings.py