django-maintenance-mode - Running Your Django App in Maintenance Mode

preview_player
Показать описание
In this video, we look at how to turn on "Maintenance Mode" for your Django application, and how you can display a template that informs your users that your app is undergoing maintenance.

Having a page like this is preferable to taking your site completely offline while maintenance is ongoing.

We'll look at some of the settings you can use with the django-maintenance-mode library, including:
1. A setting that allows you to keep your Admin pages online, while the rest of the site is in maintenance mode.
2. Maintenance mode only for anonymous users, but not for authenticated users
3. Per-view exemptions for maintenance mode

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying me a coffee here:

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:

#python #webdevelopment #django
Рекомендации по теме
Комментарии
Автор

Each time I wacth your tutorials, I'm amazed 😮. Always new things. Thank so much master 🙌🏾.

seydinaoumarsamabaly
Автор

Great lesson, had been looking forward to this

JustinSpryce
Автор

I surely love your great content. However I would like you to elaborate more between this and Django - Lockdown. Thanks

allanbakwanamaha
Автор

Would be nice if the maintenance mode could be toggled on/off in the Django admin instead of needing to change the settings file. But I am sure there is some more or less quick way to achieve that.

franke
Автор

The Django-Auditlog is a great package that is in active development. Full audit logs even for m2m related data. Need through tables for the m2m functionality

khunjohn
Автор

Great video (as always)

Question: where does that {% lorem %} come from? Is it a built-in Django thing?

farzadmf
Автор

You talked about page errors, like 503, how about the other common errors ?

eduardocardoso
Автор

Nice app, I didn't know about it : )

raffritter
Автор

So you're telling me that waiting till 1am to start working on my site isn't the best idea...hmmm

Septumsempra