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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-statuspage-0.1.0.tar.gz
.
File metadata
- Download URL: django-statuspage-0.1.0.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a4f746fc903ab00acaff334a8cb66dc50011aa8322080c9dbf00d9969df3753d |
|
MD5 | 70d4fa89229b34f0e4ccc6464dd69d1d |
|
BLAKE2b-256 | 42933c98c71be4fbcdb60756aa52068efe79b8508648fd441e77793e6a9178fc |