fixed path depth
fixed missing refs to APP_NAME and quote django secret key