Skip to content

maykinmedia/django-setup-configuration

Repository files navigation

Version:0.3.0
Source:https://github.com/maykinmedia/django-setup-configuration
Keywords:Configuration
PythonVersion:3.10

Build status Code quality checks black Coverage status Documentation Status

python-versions django-versions pypi-version

Manage your configuration via django command.

  • management command, which runs the ordered list of all configuration steps
  • Python 3.10 or above
  • Django 3.2 or newer
  1. Install from PyPI
pip install django-setup-configuration
  1. Add django_setup_configuration to the INSTALLED_APPS setting.
  1. Create configurations steps based on BaseConfigurationStep class.
  2. Specify these steps in SETUP_CONFIGURATION_STEPS setting.
  3. Run setup_configuration management command manually or put it in the init container during deployment.

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages