{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"}],"enrichment":{"capability":"Activates a 503 maintenance page in Django applications without requiring database access or stopping the application server.","skillfed_tags":["django-middleware","deployment-ops"],"use_cases":["Display a maintenance page during database migrations or schema updates without restarting the application.","Temporarily take a site offline for emergency fixes or deployments while keeping the server process running.","Allow staff and superusers to continue accessing the admin site or specific URLs while other users see the maintenance page.","Return JSON responses for API endpoints during maintenance while serving HTML to web browsers.","Redirect users to an external status page or alternative URL during planned downtime."],"what_it_does":"django-maintenance-mode is a Django middleware that intercepts requests and returns a 503 Service Unavailable response when maintenance mode is enabled. It operates at the application level without touching the database or requiring the server to restart, making it suitable for planned downtime, deployments, or migrations. The middleware can be configured to exclude specific users (staff, superusers, authenticated), IP addresses, or URL patterns, and supports multiple state backends (local file, cache, storage) to track whether maintenance mode is active.\n\nThe package is designed for developers who need to take their Django site offline temporarily while keeping the application running. It handles response customization (HTML or JSON), redirect URLs, retry headers, and context processors for template rendering. Configuration is entirely optional\u2014sensible defaults apply if not specified\u2014and the middleware can be positioned in the stack to control which other middleware executes during maintenance.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and solves a common operational need in Django deployments. The permissive MIT license and broad Django version support (4.2 through 6.0) make it a safe choice for most projects. Install it if you need to take your site offline without restarting the server."},"id":"django-maintenance-mode","links":{"html":"https://skillfed.io/packages/django-maintenance-mode","md":"https://skillfed.io/packages/django-maintenance-mode.md","pypi":"https://pypi.org/project/django-maintenance-mode/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-14","license_spdx":null,"license_treatment":"permissive","name":"django-maintenance-mode","python_support":"unspecified","summary":"shows a 503 error page when maintenance-mode is on."},"popularity":{"monthly_downloads":278084,"position":8138,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.23.0"}
