Releases: adamghill/dj-toml-settings
Releases · adamghill/dj-toml-settings
0.6.0
What's Changed
- Support integer access for lists using numeric sub-keys (e.g.
[tool.django.TEMPLATES.0]). - Add URL parsing support for database and cache settings.
- New
$typevalues:databaseandcache.
- New
- Improved deep dictionary parsing to handle nested settings and special operators like
$insertat any depth. - Support for "path" casting for
$type.
Full Changelog: 0.5.0...0.6.0
0.5.0
0.4.0
0.3.1
0.3.0
0.2.0
- Better support for using variables which are a
Path.
Full Changelog: 0.1.0...0.2.0
0.1.0
- Load
pyproject.tomlanddjango.tomlfiles and parse them. - Load settings from
tool.django.apps.*sections. - Load settings from
tool.django.envs.*sections if it matchesENVIRONMENTenvironment variable. - Retrieve value from environment variable, e.g.
{ env = "ENVIRONMENT_VARIABLE_NAME" }. - Retrieve value from previous settings, e.g.
VARIABLE_NAME = ${PREVIOUS_VARIABLE_NAME}. - Parse strings into a
Pathobject, e.g.{ path = "." }. - Insert value into arrays, e.g.
ALLOWED_HOSTS = { insert = "127.0.0.1" }. - Integrations for Django,
nanodjango,coltrane.