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
Usage
Install using pip install django-moj-irat.
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
Development
Please report bugs and open pull requests on GitHub.
Use python setup.py test to run all tests.
Distribute a new version by updating the version argument in setup.py:setup and run python setup.py sdist bdist_wheel upload.
Copyright
Copyright (C) 2018 HM Government (Ministry of Justice Digital Services). See LICENSE.txt 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
Built Distributions
Hashes for django_moj_irat-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06914deb42f0e9160a2f493cf85c5571efafa5fd23cb49aac7bb2278b0066937 |
|
MD5 | 65fbf7d7d0b91d50aa67ed4d7f1e6dfe |
|
BLAKE2b-256 | 5e46243d1039e0620d384b14bfb36daec90c238fe54b09f2be8625b16a1b859c |
Hashes for django_moj_irat-0.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d409d3f3ec29497098e415e03b5b61e7e5311e72f427d729df91ea2576eeee23 |
|
MD5 | c0b700bff819166a74f881365f3fa3e5 |
|
BLAKE2b-256 | 2d06c8b98312008fa64114e523058844b962cec659a3f3e2d04b05a1617275da |