Changed settings.py to make it a fully database driven site that uses postgresql.