Commits

Jiangge Zhang committed 717b4cd

add postgresql paramaters as optional.

Comments (0)

Files changed (1)

passwood/dev.cfg.example

 DEBUG = True
 SECRET_KEY = "secret-key"
 
-SQLALCHEMY_DATABASE_URI = "sqlite:////tmp/passwood-dev.sqlite"
+# SQLALCHEMY_DATABASE_URI = "postgresql+psycopg2://username@/postgres?host=/tmp/passwood-db"
+# SQLALCHEMY_DATABASE_URI = "sqlite:////tmp/passwood-dev.sqlite"
 SQLALCHEMY_ECHO = DEBUG
 
 MAIL_DEFAULT_SENDER = "noreply@example.com"