update buildout and settings.py for later version of django