Various health check view for the Django Framework
Project description
drf_health_check
Various health check extensions for the Django Rest Framework
Installation
Using pip
pip install drf_health_check
Using pipenv
pipenv install drf_health_check
Quick start
In your project’s settings.py
add HEALTH_CHECK_PROVIDERS
.
HEALTH_CHECK_PROVIDERS = {
...
'drf_health_check.providers.DBHealthCheckProvider',
...
}
Add drf_health_check
to INSTALLED_APPS
INSTALLED_APPS = [
"drf_spectacular",
"django_auth_adfs",
"corsheaders",
"drf_health_check",
]
Add urls to you project for health-view
urlpatterns = [
...
url("health/", include('django_health_check_view.urls')),
...
]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
drf_health_check-0.0.8.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for drf_health_check-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 369d07f3c456a084a7f9a3ab77be0ba8d7d9a59a6f36134003eda280c4e50496 |
|
MD5 | 962f71502fc0c44456adf08d9556e774 |
|
BLAKE2b-256 | 1f9ae847aa18afa6367e825a959e531e1af5df0b6d3ad8f6a6a89d9b12867937 |