Closed laurencejackson closed 2 years ago
In config.py the string
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL').replace("://", "ql://", 1) or 'postgresql://localhost:5432/hazen'
fails because the replace method cannot run on the Nonetype returned bytos.environ.get. Needs to be changed to something like:
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://localhost:5432/hazen'
resolved by #4
In config.py the string
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL').replace("://", "ql://", 1) or 'postgresql://localhost:5432/hazen'
fails because the replace method cannot run on the Nonetype returned bytos.environ.get. Needs to be changed to something like:
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or 'postgresql://localhost:5432/hazen'