This project has been archived by its maintainers, and is no longer receiving any updates.
django-composed-configuration
Turnkey Django settings for data management applications.
Installation
Add to your project's requirements:
django-composed-configuration[dev,prod]
In your project's settings.py:
from composed_configuration import (
ComposedConfiguration,
ConfigMixin,
DevelopmentBaseConfiguration,
ProductionBaseConfiguration,
)
class _ProjectMixin(ConfigMixin):
# Define additional project-specific settings or overrides here
pass
@staticmethod
def mutate_configuration(configuration: ComposedConfiguration) -> None:
# Perform any non-overriding mutation of existing settings here
# The "configuration" variable contains the flattened settings
# For example:
# configuration.INSTALLED_APPS += ['my_extra_app']
pass
class DevelopmentConfiguration(_ProjectMixin, DevelopmentBaseConfiguration):
pass
class ProductionConfiguration(_ProjectMixin, ProductionBaseConfiguration):
pass
At runtime:
- continue to set the
DJANGO_SETTINGS_MODULEenvironment variable (pointing tosettings.py) - also set
DJANGO_CONFIGURATION, with a value of eitherDevelopmentConfigurationorProductionConfiguration
Metadata
Release files for django-composed-configuration 0.21.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-composed-configuration-0.21.0.tar.gz | 27.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_composed_configuration-0.21.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 62.4 kB
Release files / django-composed-configuration-0.21.0.tar.gz
| Download URL | django-composed-configuration-0.21.0.tar.gz |
|---|---|
| Size | 27.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c28ccdca5d844da75f8be25f38b7ca0e0d2a99a0d4457884cf7b4f816c71d591
|
|
BLAKE2b-256 checksum How to use checksums |
4b5dc41b7cc1bf47fe1f469df92685b4c3cf5cd40ffa5fe1c4bb05cbbdc7b180
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Release files / django_composed_configuration-0.21.0-py3-none-any.whl
| Download URL | django_composed_configuration-0.21.0-py3-none-any.whl |
|---|---|
| Size | 34.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e0c599f39735c79834da468ea1fec3e135e059bad9a2de9fe8980baaa669cae
|
|
BLAKE2b-256 checksum How to use checksums |
d2c6b39cce22b5eb19e40c18c4f8c4f297e2873e28fc0af6a023607cd91b0db4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.10.4
|
Security for django-composed-configuration 0.21.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.