Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Small, simple, app to show a down page or redirect to another site while you make upgrades.
Python HTML
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
docs bump release.
downtime Removed testing prints
.gitignore Move migrations.
.travis.yml Add 1.8 to travis.
CHANGELOG.rst bump release.
CONTRIBUTORS.rst Add @kevinglover as a contributor and updating for the next release.
LICENSE Add conributors and prep for new release. Added tabs for formatting Bumping versions, docs. Django 1.8
setup.cfg Remove trivial test. bump release.
test-requirements.txt Tests.

Django Downtime

Small, simple, app to show a down page while you make upgrades.

Official Docs


Django supports versions 1.4 to 1.8 on Python 2.7 and 3.4.

To install django-downtime::

pip install django-downtime

add to installed apps::


Add downtime middleware to the top your list of installed middlewares::



Exempted URLs::

    '/', # exempts homepage

Exempted Paths::


Url Redirect



If no URL Redirect is specified a lame default template is rendered, this can be overridden by specifying a downtime/downtime.html template.

Management Commands

There are two managment commands, one to take a project down python downtime_start and one to set it back up python downtime_end.

What happens internally when calling python downtime_start?

This sets a start date time and mark is as enabled. We call this "deployment mode", usually called before running a deployment script.

What happens internally when calling python downtime_end?

This sets a end date time to all records that has a start date time and no end date time set and are marked as enabled. We call this "closing deployment mode", usually called after running a deployment script.

Something went wrong with that request. Please try again.