Skip to main content

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

https://travis-ci.org/ministryofjustice/django-moj-irat.svg?branch=master

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-moj-irat, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size django_moj_irat-0.4-py2-none-any.whl (7.0 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django_moj_irat-0.4-py3-none-any.whl (7.0 kB) File type Wheel Python version 3.6 Upload date Hashes View
Filename, size django-moj-irat-0.4.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page