default config: add exemplary URL encoding step for SQLA DB URL params

SQLAlchemy database URLs follow RFC-1738, so parameters like username
and password need to be encoded accordingly.

https://docs.sqlalchemy.org/en/13/core/engines.html#database-urls
This commit is contained in:
Dominic Zöller
2021-11-10 11:29:01 +01:00
committed by zoeller-freinet
parent a3b70a8f47
commit 701a442d12
3 changed files with 17 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
import os
basedir = os.path.abspath(os.path.abspath(os.path.dirname(__file__)))
basedir = os.path.abspath(os.path.dirname(__file__))
### BASIC APP CONFIG
SALT = '$2b$12$yLUMTIfl21FKJQpTkRQXCu'