django settings manager
Project description
dj_settings offers way to add django settings in a way that has been battle-tested for years in numerous UNIX apps, reading from the value /etc/<conf_path> or ~/.config/<conf_path> or <proj_path>/<conf_path> or an ENV VAR, allowing overriding from the next read location.
In a nutshell
Installation
The easiest way is to use poetry to manage your dependencies and add dj_settings to them.
[tool.poetry.dependencies]
dj_settings = "^1.0.0"
Usage
dj_settings will read from various config files to get the value of a variable, in a way that’s very familiar to all UNIX users. It allows setting default values, and overriding with ENV VARs.
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dj_settings-1.0.0.tar.gz
(6.2 kB
view hashes)
Built Distribution
Close
Hashes for dj_settings-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3a0b06a3bd0649034af6df9a12750ea2acc60e35998b8215f23550e86be632a |
|
MD5 | 23b60655fb2c214639422a7b73dba9a3 |
|
BLAKE2b-256 | d5858a80b0f2be5ada7b9932f2129af3af8a0b09fa841ee023048d5dbf9d77de |