Python Django - Maintenance Mode

preview_player
Показать описание
This is the eighth video of my 'Building and Launching a REAL Django website' playlist. We will be going through every step of building a Django website from a blank canvas through to launching for the world to see.
In this video, we will be installing a new library to give our project some extra functionality. By the end of this video, we will have a maintenance mode that we can switch on and off via a URL.


Note: This project is using Python 3.7.3 and Django 3.2

ABOUT OUR CHANNEL
Our channel is about coding a development. We cover lots of cool stuff such as Django, React, Javascript, AJAX, Coding on DLT's
Check out our channel here:
Don’t forget to subscribe!

CHECK OUT OUR OTHER VIDEOS

FIND US AT

GET IN TOUCH

FOLLOW US ON SOCIAL
Get updates or reach out to Get updates on our Social Media Profiles!

SUPPORT US
HBAR wallet: 0.0.290086

HIRE ME
Need help with a project? Hire me on a freelance basis?

DISCOUNTS
Visit our website to get some fantastic discounts
Рекомендации по теме
Комментарии
Автор

Thanks for the very useful video,
the only change for thoese who faced (ImportError: cannot import name 'url' from 'django.conf.urls') is to replace 1- url to re_path and 2- to in 10:35

absuas
Автор

Could you send me a link with this code?

lolziden
Автор

Just tincase anyone is stuck the views import is now out of date - from django.conf.urls import url. Use - from django.urls import re_path - and in urlpatters - re_path(r'^maintenance-mode/', include('maintenance_mode.urls')),

iloveloam