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 = "^2.1.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-2.1.0.tar.gz
(6.5 kB
view hashes)
Built Distribution
Close
Hashes for dj_settings-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dacfd6d018cacdeaabd9166ec79833b903e38f0d32bfab09faf5d00410c44811 |
|
MD5 | 66ea5380a5497af48b0040341b200994 |
|
BLAKE2b-256 | 42833b750ce1bad32a1632f2e7d7600635e12083e6a8fd9253ab99e5919b9727 |