Skip to main content

Django Maintenance in Progress

Intercept possible 500 errors when site maintenance is in progress and display a friendly page.

Travis

Overview

During system maintenance some pages may produce errors due to eg. database upgrades. A blanket rule would take down the entire site, which is naturally undesirable. maintenance_in_progress only displays a maintenance message when a 500 error is encountered during the maintenance window.

Installation

  1. Install or add django-maintenance-in-progress to your Python path.

  2. Add maintenance_in_progress to your INSTALLED_APPS setting.

  3. Set handler500 = 'maintenance_in_progress.views.server_error' in urls.py.

Usage

Admin has a Maintenance In Progress Preferences link where you can choose to indicate maintenance is in progress either by a flag in the database or by creating a file on the filesystem.

Authors

Praekelt Foundation

  • Hedley Roos

Changelog

0.1

  1. Initial release.

Metadata

Release files for django-maintenance-in-progress 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for django-maintenance-in-progress 0.1
File Interpreter ABI Platform Actions
django_maintenance_in_progress-0.1-py2.7.egg Legacy Egg format - - Details for django_maintenance_in_progress-0.1-py2.7.egg

Release files / django_maintenance_in_progress-0.1-py2.7.egg

Download URL django_maintenance_in_progress-0.1-py2.7.egg
Size 9.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
68effd562d0400dc7553d09fae95b444030a0677416623b109ad80de6e55d289
BLAKE2b-256 checksum
How to use checksums
9a78a8e28519b6e155b32542575f72256065c5e9dc31b87634f57056948cb9c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-maintenance-in-progress 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

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