Modified .travis.yml. Modified settings.py for using databse.