Skip to main content

Your project description goes here

Project description

=============================
django-statuspage
=============================

.. image:: https://badge.fury.io/py/django-statuspage.png
:target: https://badge.fury.io/py/django-statuspage

.. image:: https://travis-ci.org/marguslaak/django-statuspage.png?branch=master
:target: https://travis-ci.org/marguslaak/django-statuspage

Display status and information of the system. Can be used as a heartbeat
indicator for load balancer.

Quickstart
----------

Install django-statuspage::

pip install django-statuspage

Then use it in a project::

import djstatuspage

Features
--------

* Display information about installed system with a simple json response

Usage
-----

Add url in your project with

import djastatuspage

urlpatterns += patterns('',
url(r'^', include(djstatuspage.urls.urlpatterns, namespace='statuspage')),
)

Settings
--------

* STATUSPAGE_TASKS - define extra callables to add to output in key-value
manner. For example.

STATUSPAGE_TASKS["version"] = lambda: "0.1.0"

Will return

{"database": "ok", "version": "0.1.0"}

* STATUSPAGE_TRY_DATABASE - Default True. Turn off database round trip.


Cookiecutter Tools Used in Making This Package
----------------------------------------------

* cookiecutter
* cookiecutter-djangopackage




History
-------

0.1.0 (2015-09-22)
++++++++++++++++++

* First release on PyPI.

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-statuspage-0.1.0.tar.gz (5.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page