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.10.tar.gz
(19.7 kB
view hashes)
Built Distribution
Close
Hashes for drf_health_check-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55c74bf7b59030adb4f07ec9340bb05faf7f3ae8be8a63442b3bf67660065591 |
|
MD5 | 03c3e26468663385d98aa3de1ca2416a |
|
BLAKE2b-256 | f09b56e8a3a538b28434041826147e8fd4778c6299d77ebe08ce3ab1ed29fb54 |