From a2b9bd8622e83eed032e4187fce4198bdc72cbb8 Mon Sep 17 00:00:00 2001 From: amercader Date: Tue, 10 Oct 2023 15:51:25 +0200 Subject: [PATCH] New version --- README.md | 10 ++++++++++ setup.py | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c2f01c0..733a895 100755 --- a/README.md +++ b/README.md @@ -27,6 +27,16 @@ e.g.: sqlalchemy.url --> CKAN___SQLALCHEMY__URL beaker.session.secret --> CKAN___BEAKER__SESSION__SECRET + +Starting from CKAN 2.10 (and ckanext-envvars 0.0.4), if a configuration option is defined using CKAN's +[configuration declaration](https://docs.ckan.org/en/latest/maintaining/configuration.html#config-declaration) +the key is not further processed. This allows to keep eg upper case setttings like SECRET_KEY, WTF_CSRF_ENABLED, e.g: + + SECRET_KEY --> CKAN___SECRET_KEY + WTF_CSRF_ENABLED --> CKAN___WTF_CSRF_ENABLED + + + Requirements ------------ diff --git a/setup.py b/setup.py index 0fdf894..495535c 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version - version='0.0.3', + version='0.0.4', description='''CKAN configuration settings available from env vars''', long_description=long_description,