Pluggable configuration setup used with the django management command
Project description
1 Welcome to django_setup_configuration’s documentation!
- Version:
0.1.0
- Source:
- Keywords:
Configuration
- PythonVersion:
3.10
Manage your configuration via django command.
2 Features
management command, which runs the ordered list of all configuration steps
3 Installation
3.1 Requirements
Python 3.10 or above
Django 3.2 or newer
3.2 Install
Install from PyPI
pip install django-setup-configuration
Add django_setup_configuration to the INSTALLED_APPS setting.
4 Usage
Create configurations steps based on BaseConfigurationStep class.
Specify these steps in SETUP_CONFIGURATION_STEPS setting.
Run setup_configuration management command manually or put it in the init container during deployment.
5 Local development
To install and develop the library locally, use:
pip install -e .[tests,coverage,docs,release]
When running management commands via django-admin, make sure to add the root directory to the python path (or use python -m django <command>):
export PYTHONPATH=. DJANGO_SETTINGS_MODULE=testapp.settings
django-admin check
# or other commands like:
# django-admin makemessages -l nl
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
Built Distribution
Hashes for django_setup_configuration-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42a2b5783b893dd0316080f658ab9e5448c292b7f7c35aa1eed5457e948e5fb2 |
|
MD5 | eb324ca2738e2c03bbcb0faa45805169 |
|
BLAKE2b-256 | b9ea17f526e117017587221f049568c8bdcd8ca42da6f97223145cce4381f924 |
Hashes for django_setup_configuration-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa8d086b779d7c79b716a0571262eefc987e43fa39350d2a4cbf64882a7c279 |
|
MD5 | d6ead46bfcd75de649aa21058b2fbb88 |
|
BLAKE2b-256 | 09a6e497e9ae0c4c0586035d6ba55ac79798459f6a0ed08b890a02a67951446c |