Tools to support adding a Django-based service to Ministry of Justice's Incidence Response and Tuning
Project description
A set of tools to make it easier to add a Django-based service to Ministry of Justice’s Incidence Response and Tuning:
ping.json view
healthcheck.json view with extensible healthchecks
healthcheck.json
Django settings:
HEALTHCHECKS = [
'moj_irat.healthchecks.database_healthcheck',
# override default list of healthcheck callables
]
AUTODISCOVER_HEALTHCHECKS = True # whether to autodiscover and load healthcheck.py from all installed apps
Installation
At the moment, the only way to install the library is from github
pip install git+https://github.com/ministryofjustice/django-moj-irat.git
Copyright
Copyright © 2015 HM Government (Ministry of Justice Digital Services). See LICENSE for further details.
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
django-moj-irat-0.3.tar.gz
(5.2 kB
view hashes)