Pluggable configuration setup used with the django management command
Project description
1 Welcome to django_setup_configuration’s documentation!
- Version:
0.2.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
File details
Details for the file django_setup_configuration-0.2.0.tar.gz
.
File metadata
- Download URL: django_setup_configuration-0.2.0.tar.gz
- Upload date:
- Size: 14.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f10d1dbc6defe5bb24070ba7f0a75ae89a80e7770a51332607b6fe387855f4f |
|
MD5 | f61554cba93e1c1d936f4ca1df04d548 |
|
BLAKE2b-256 | 0922bcacda4439e70c65bfe429efdce0681f914a423df695bf375a8cbcb0a9d9 |
File details
Details for the file django_setup_configuration-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: django_setup_configuration-0.2.0-py3-none-any.whl
- Upload date:
- Size: 13.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7a5075792466466d2f2c646f67df1bbcae2784b488cb9cf3486ddc19814090 |
|
MD5 | 6d313127bcfb8a503dab06af3c8d2374 |
|
BLAKE2b-256 | 4f77c635e0bae046f2eccd699fef8e5167fb561b1cc87bbf320664b2f7246596 |