Move to Django 1.5, reorg settings.