Skip to main content

django settings manager

Project description

Build Total alerts License PyPI Downloads Code style

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 = "^0.4.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.

Project details


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-0.4.0.tar.gz (6.2 kB view hashes)

Uploaded Source

Built Distribution

dj_settings-0.4.0-py3-none-any.whl (6.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page