django-downtime 0.3.1

Give your site a down page, or redirect to another error page.

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

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.

MIT

Author

Derek Stegelman

Pip

django-downtime==0.3.1

Classifiers

  • Topic :: Utilities
  • Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries
  • Programming Language :: Python
  • Operating System :: OS Independent
  • Natural Language :: English
  • License :: OSI Approved :: MIT License
  • Intended Audience :: End Users/Desktop
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 5 - Production/Stable
File Type Python Version Uploaded On Downloads
django-downtime-0.3.1.tar.gz Source Nov. 11, 2013 1,276
Version Release Date
0.3.1 Nov. 11, 2013
0.3 Aug. 28, 2012
0.2 Aug. 4, 2012
0.1 Aug. 4, 2012
Date Package Version Action
Nov. 4, 2014, 1:07 p.m. django-downtime 0.2 Release Created
Nov. 4, 2014, 1:07 p.m. django-downtime 0.3.1 Release Created
Nov. 4, 2014, 1:07 p.m. django-downtime 0.3 Release Created
Nov. 4, 2014, 1:07 p.m. django-downtime 0.1 Release Created
Nov. 4, 2014, 1:07 p.m. django-downtime Package Created