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_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.12.tar.gz
(19.6 kB
view hashes)
Built Distribution
Close
Hashes for drf_health_check-0.0.12-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fad482f7343918636780b691e5d56521c5580b7c4c1a8d9928275ff112ab8b5 |
|
MD5 | 8c8f41e3b938e9af9e0c8139de9dceab |
|
BLAKE2b-256 | 0e5dd343217b2e6688ee5df2202a5ba5d728ff9cdcebccb4007684364af1226f |