django-setup-configuration 0.3.0

Creator: codyrutscher

Last updated:

Add to Cart

Description:

djangosetupconfiguration 0.3.0

1 Welcome to django_setup_configuration’s documentation!

Version:
0.3.0

Source:
https://github.com/maykinmedia/django-setup-configuration

Keywords:
Configuration

PythonVersion:
3.10




Manage your configuration via django command.

Contents

1 Welcome to django_setup_configuration’s documentation!
2 Features
3 Installation

3.1 Requirements
3.2 Install


4 Usage
5 Local development




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

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Customer Reviews

There are no reviews.