Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Small, simple, app to show a down page or redirect to another site while you make upgrades.
branch: master
Failed to load latest commit information.
docs bump
downtime Return 503 status code.
.gitignore bump
LICENSE Create LICENSE
MANIFEST.in Corrected typo in MANIFEST.in.
README.md docs update
setup.py bump

README.md

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

Official Docs

http://django-downtime.readthedocs.org

Install

To install django-downtime::

pip install django-downtime

add to installed apps::

downtime

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

'downtime.middleware.DowntimeMiddleware',

Settings

Exempted Paths::

DOWNTIME_EXEMPT_PATHS = (
    '/admin',
    '/other_location_not_down',
)

Url Redirect

DOWNTIME_URL_REDIRECT = "http://errors.mypage.com"

Templates

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

Something went wrong with that request. Please try again.