Skip to main content
statusboard
===========

`|Build Status| <https://travis-ci.org/edigiacomo/django-statusboard>`_
`|Pypi| <https://pypi.python.org/pypi/django-statusboard/>`_

Status page application.

Installation
------------

Install the package

::

pip install django-statusboard

Add the following applications to your Django projects

::

INSTALLED_APPS += [
'django.contrib.humanize',
'rest_framework',
'statusboard',
]

Update your urlconf:

::

# myproject/urls.py
urlpatterns += [
url(r'^statusboard/$', include('statusboard.urls')),
]

Update your database

::

./manage migrate

Configuration
-------------

You can configure the app using the dict ``STATUSBOARD`` in
``settings.py``:

::

STATUSBOARD = {
INCIDENT_DAYS_IN_INDEX: 7,
OPEN_INCIDENT_IN_INDEX: True,
}

- ``INCIDENT_DAYS_IN_INDEX``: number of days to show in index (1 =
today).
- ``OPEN_INCIDENT_IN_INDEX``: show not fixed incidents in index.

Customize pages
---------------

The following blocks are customizable in ``statusboard/base.html``:

- ``title``: title of the page
- ``branding``: branding in fixed navbar
- ``bootstrap_theme``: bootstrap theme
- ``header``: header of the page
- ``userlinks``: links in the header
- ``footer``: footer div
- ``style``: ``CSS`` files
- ``script``: JavaScript files

Example: change branding and title
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Django 1.8
^^^^^^^^^^

Copy ``statusboard/templates/statusboard/base.html`` in one of your
templates dir and edit the file.

Django >= 1.9
^^^^^^^^^^^^^

In Django >= 1.9, the templates can be extended recursively (see
https://docs.djangoproject.com/en/1.10/releases/1.9/).

Create a ``statusboard/base.html`` in one of your templates dir:

::

{% extends `statusboard/base.html %}

{% block title %}
ACME, Inc.
{% endblock %}

{% block branding %}
<a class="navbar-brand" href="{% url 'statusboard:index' %}">ACME status</a>
{% endblock %}

.. |Build
Status| image:: https://travis-ci.org/edigiacomo/django-statusboard.svg?branch=master
.. |Pypi| image:: https://img.shields.io/pypi/v/django-statusboard.svg

Download files

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

Source Distribution

django-statusboard-0.3.30.tar.gz (207.8 kB view details)

Uploaded Source

File details

Details for the file django-statusboard-0.3.30.tar.gz.

File metadata

File hashes

Hashes for django-statusboard-0.3.30.tar.gz
Algorithm Hash digest
SHA256 9d946c4025af283d97fcf6d2e4aab165e13b2b498d9e877546b478ea1bd4d7a5
MD5 513ce9c284e04e0ae196d633ef657aa8
BLAKE2b-256 b2ce6adaeff48b342f3f2726062b72d89f8fbc5be0d6e017ef056b48f6c690ad

See more details on using hashes here.

Release history Release notifications | RSS feed

0.15.1

2 files

0.15.0

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

1 file

0.9.3

1 file

0.9.2

1 file

0.9.1

1 file

0.9.0

1 file

0.8.1

1 file

0.8.0

1 file

0.7.1

1 file

0.7.0

1 file

0.6.1

1 file

0.5.6

1 file

0.5.5

1 file

0.5.4

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.1

1 file

0.4

1 file

0.3.31

1 file

This release

0.3.30 This release

1 file

0.3.29

1 file

0.3.28

1 file

0.3.26

1 file

0.3.25

1 file

0.3.24

1 file

0.3.23

1 file

0.3.22

1 file

0.3.21

1 file

0.3.20

1 file

0.3.18

1 file

0.3.17

1 file

0.3.16

1 file

0.3.15

1 file

0.3.14

1 file

0.3.13

1 file

0.3.12

1 file

0.3.11

1 file

0.3.10

1 file

0.3.9

1 file

0.3.7

1 file

0.3.6

1 file

0.3.5

1 file

0.3.4

1 file

0.3.3

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.0

1 file

0.1.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page