Change database connection for development
This commit is contained in:
parent
03f2a50aaa
commit
24bebab6b8
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user