Fix for Django>=1.5 by moving the SECRET_KEY config up