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
File details
Details for the file django-health-check-version-1.0.0.tar.gz
.
File metadata
- Download URL: django-health-check-version-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3abb0184e9c4cf74463b2b2df33688da9f121a0894538f2b8d927e365fce85e |
|
MD5 | abc01625442ab8f9e0a0b30c7ebba2ca |
|
BLAKE2b-256 | ab62a6e752456aad3c892f9b3f03730e21ae36eb7a319c6b917c300ee4241492 |
File details
Details for the file django_health_check_version-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: django_health_check_version-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a643ae9ce4de6eaa7f6f69ae639d74f707b38b6beff8c32aeeea647639dff1cc |
|
MD5 | 65e1f002415244622ee3b958ea91ca9a |
|
BLAKE2b-256 | 2eebb66253de7d10141933b2b47bdd75834c72eac1e9a67726467f84b0d7f9e8 |