django-downtimeGive your site a down page, or redirect to another error page | |
Download |
django-downtime Ranking & Summary
Advertisement
- License:
- MIT/X Consortium Lic...
- Price:
- FREE
- Publisher Name:
- Derek Stegelman
- Publisher web site:
- http://github.com/dstegelman/
django-downtime Tags
django-downtime Description
django-downtime is a small, simple, Django app to show a down page while you make upgrades.InstallTo install django-downtime:pip install django-downtimeadd to installed apps:downtimeAdd downtime middleware to the top your list of installed middlewares:'downtime.middleware.DowntimeMiddleware',SettingsExempted Paths:DOWNTIME_EXEMPT_PATHS = ( '/admin', '/other_location_not_down',)Url Redirect DOWNTIME_URL_REDIRECT = "http://errors.mypage.com"TemplatesIf no URL Redirect is specified a lame default template is rendered, this can be overridden by specificing a downtime/downtime.html template.Product's homepage
django-downtime Related Software