Display settings.py VERSION in django-health-check output
Project description
django-health-check-version
A simple plugin that displays the VERSION
value configured in settings.py
in the output of python manage.py health_check
or the /health/
endpoint of the application.
Installation
Use the package manager pip to install foobar.
pip install django-health-check-version
Add VERSION
to settings.py
set to whatever value you wish displayed.
VERSION='1.0.0'
Add to INSTALLED_APPS
in settings.py
INSTALLED_APPs = [
...
"health_check", # required
"health_check.db", # standard health checkers
"health_check.cache",
"health_check.storage",
"health_check.contrib.migrations",
"django_health_check_version", # this one
...
]
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
License
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
Close
Hashes for django-health-check-version-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3abb0184e9c4cf74463b2b2df33688da9f121a0894538f2b8d927e365fce85e |
|
MD5 | abc01625442ab8f9e0a0b30c7ebba2ca |
|
BLAKE2b-256 | ab62a6e752456aad3c892f9b3f03730e21ae36eb7a319c6b917c300ee4241492 |
Close
Hashes for django_health_check_version-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a643ae9ce4de6eaa7f6f69ae639d74f707b38b6beff8c32aeeea647639dff1cc |
|
MD5 | 65e1f002415244622ee3b958ea91ca9a |
|
BLAKE2b-256 | 2eebb66253de7d10141933b2b47bdd75834c72eac1e9a67726467f84b0d7f9e8 |