From 9fe84bc1a2ef088e345e6215cf2e2fa3b53fc2da Mon Sep 17 00:00:00 2001 From: Alexis M Date: Mon, 7 Oct 2019 16:44:50 +0200 Subject: Enhance postgresql installation docs. --- docs/configuration.rst | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/configuration.rst') diff --git a/docs/configuration.rst b/docs/configuration.rst index 4e04e7a..5b78707 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -27,7 +27,10 @@ format used can be found on `the SQLAlchemy documentation`_. If you're using PostgreSQL, Your client must use utf8. Unfortunately, PostgreSQL default is to use ASCII. Either change your client settings, or specify the encoding by appending ``?client_encoding=utf8`` to the -connection string. +connection string. This will look like:: + + SQLALCHEMY_DATABASE_URI = 'postgresql://myuser:mypass@localhost/dbname?client_encoding=utf8' + `SECRET_KEY` ------------ -- cgit v1.1