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.11.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for drf_health_check-0.0.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a183897b35c1aadd8fdc10835ea384eb4f106f3ed722dfa0718cfd849492969e |
|
MD5 | 665395957a92ca8c45ebe46431dfa671 |
|
BLAKE2b-256 | eec9200f2847ee04f5e1ec8ba884c5d6cd040decdcfa6c1168cc56ce6da90091 |