moving import os call to top of settings for Django secret key purposes