Change database connection for development

This commit is contained in:
Matthew Welch 2021-08-29 16:00:11 -07:00
parent 03f2a50aaa
commit 24bebab6b8

View File

@ -28,7 +28,12 @@ class Development(Config):
FLASK_ENV = "development"
DEBUG = True
TESTING = True
DB_URL = f"postgresql+psycopg2://{Config.DB_USER}:{Config.DB_PASSWORD}@{Config.DB_HOST}:{Config.DB_PORT}/{Config.DB_NAME}"
DB_USER = "postgres"
DB_PASSWORD = "hello"
DB_HOST = "localhost"
DB_NAME = "postgres"
DB_PORT = 5432
DB_URL = f"postgresql+psycopg2://{DB_USER}:{DB_PASSWORD}@{DB_HOST}:{DB_PORT}/{DB_NAME}"
class Testing(Config):