Project

Profile

Help

« Previous | Next » 

Revision 31461ead

ID31461ead0006a289d02fa71e266e9648c9ed2bb9
Parent 7faa5ea4
Child 0b82ca6e

Added by Bruno Rocha 8 months ago

Preparing for Dynaconf 2.0.0 (to be released on April 8)

- Fixed the way settings are loaded on `settings.py` (no more explicit `get` and added dynaconf patching at the end of file with all dynaconf config options in one place)

- Other places like `rqconfig` can import `django.conf.settings` directly.

- Added `INCLUDES_FOR_DYNACONF` pointing to `/etc/pulp/plugins/*`

That means that any dynaconf supported settings file saved on that folder will be loaded,
so plugins can ask users to drop a `pulp_foo.toml` on that path containing:

```toml
[default]
content_host = 'otherplace:9999'
```

Then dynaconf will load it, user does not have to mess with `/etc/pulp/settings.py` and plugin writers can provide config templates for installer, isntaller can just drop the file on that place.

Required PR: https://github.com/rochacbruno/dynaconf/pull/143

[noissue]