7 Critical Django Production Server Settings to Configure Before Going Live

Tony Teaches Tech November 6, 2020
Video Thumbnail

About

No channel description available.

Video Description

Learn how to configure a Django production server with settings that ensure your Python website is secure before releasing it to the public. In addition to installing an SSL certificate and verifying the deployment with python manage.py check --deploy, these Django settings include: • SECRET_KEY • SESSION_COOKIE_SECURE • CSRF_COOKIE_SECURE • SECURE_SSL_REDIRECT • SECURE_HSTS_SECONDS • SECURE_HSTS_PRELOAD • SECURE_HSTS_INCLUDE_SUBDOMAINS • ALLOWED_HOSTS • DEBUG • STATIC_ROOT • STATIC_URL Check out my short domain name search engine that was featured in this video https://micro.domains 0:57 Hide the secret key 2:25 Install SSL certificate 2:53 HTTPS settings 3:35 HSTS settings 4:45 ALLOWED_HOSTS 5:15 Turn off debug 6:10 Copy static files 7:11 Run the deployment checklist Code snippets and more at https://tonyteaches.tech/django-production-server-settings/ #django

PC Gaming Starter Kit Essentials

AI-recommended products based on this video

Loading...
Asus Prime GeForce RTX 5080 16GB GDDR7 Prime-RTX5080-16G Pci-Express 5.0 Dlss 4.0 Graphics Card Gaming

Asus Prime GeForce RTX 5080 16GB GDDR7 Prime-RTX5080-16G Pci-Express 5.0 Dlss 4.0 Graphics Card Gaming

(543)
$1,809.99
FREE delivery Thu, Feb 19
Loading...
Asus Prime B650-PLUS WiFi AMD B650 AM5 Ryzen Desktop 9000 8000 & 7000 ATX Motherboard, DDR5, PCIe 5.0 M.2, 2.5Gb LAN, WiFi 6E, HDMI, SATA 6 Gbps, USB Type-C®, BIOS Flashback, Thunderbolt 4 Header

Asus Prime B650-PLUS WiFi AMD B650 AM5 Ryzen Desktop 9000 8000 & 7000 ATX Motherboard, DDR5, PCIe 5.0 M.2, 2.5Gb LAN, WiFi 6E, HDMI, SATA 6 Gbps, USB Type-C®, BIOS Flashback, Thunderbolt 4 Header

(943)
$194.99$159.36
FREE delivery Sat, Jan 3
50+ bought in past month
Loading...
The SFF-Ready ASUS Prime GeForce RTX™ 5070 12GB GDDR7 White OC Edition Graphics Card (PCIe® 5.0, 12GB GDDR7, HDMI®/DP 2.1, 2.5-Slot, Axial-tech Fans, Dual BIOS)

The SFF-Ready ASUS Prime GeForce RTX™ 5070 12GB GDDR7 White OC Edition Graphics Card (PCIe® 5.0, 12GB GDDR7, HDMI®/DP 2.1, 2.5-Slot, Axial-tech Fans, Dual BIOS)

(670)
$909.99
FREE delivery Sat, Jan 3
50+ bought in past month
Loading...
Asus Prime Radeon™ RX 9060 XT 16GB GDDR6 OC Edition Graphics Card (PCIe 5.0, HDMI/DP 2.1, 2.5-Slot Design, axial-tech Fans, Dual Ball Fan Bearings, Dual BIOS, ASUS GPU Guard)

Asus Prime Radeon™ RX 9060 XT 16GB GDDR6 OC Edition Graphics Card (PCIe 5.0, HDMI/DP 2.1, 2.5-Slot Design, axial-tech Fans, Dual Ball Fan Bearings, Dual BIOS, ASUS GPU Guard)

(377)
$549.99
FREE delivery Tue, Jan 6
300+ bought in past month
Loading...
BOSGAME P5 Pro Mini PC, AMD Ryzen 7 6800H Mini Gaming PC, 32GB DDR5 512GB SSD Desktops Computer, Quad Display, Dual USB 4.0 & HDMI, 2.5G RJ45 LAN, Wi-Fi 6E, BT 5.2

BOSGAME P5 Pro Mini PC, AMD Ryzen 7 6800H Mini Gaming PC, 32GB DDR5 512GB SSD Desktops Computer, Quad Display, Dual USB 4.0 & HDMI, 2.5G RJ45 LAN, Wi-Fi 6E, BT 5.2

(230)
$649.99
FREE delivery Sat, Jan 3
Loading...
GEEKOM A8 Max Mini PC (Ultimate Performance), AMD Ryzen 7 8745HS (Advanced Computing), Dual LAN Mini Desktop, 16GB DDR5 RAM & 1TB SSD, Radeon 780M Graphics, Windows 11 Pro, USB4, 8K Support

GEEKOM A8 Max Mini PC (Ultimate Performance), AMD Ryzen 7 8745HS (Advanced Computing), Dual LAN Mini Desktop, 16GB DDR5 RAM & 1TB SSD, Radeon 780M Graphics, Windows 11 Pro, USB4, 8K Support

(108)
$949.00
FREE delivery Sat, Jan 3
Loading...
GMKtec Mini PC Gaming, AMD Ryzen 7 PRO 6850U (8C/16T 4.70Ghz) Radeon 680M Desktop Computer Dual NIC LAN 2.5G, 16GB DDR5 +512GB SSD, Dual USB4, HDMI 2.1, USB-C M7 Ultra Global Recycled Standard

GMKtec Mini PC Gaming, AMD Ryzen 7 PRO 6850U (8C/16T 4.70Ghz) Radeon 680M Desktop Computer Dual NIC LAN 2.5G, 16GB DDR5 +512GB SSD, Dual USB4, HDMI 2.1, USB-C M7 Ultra Global Recycled Standard

(218)
$819.99
FREE delivery Sat, Jan 3
Loading...
GMKtec Mini PC Gaming, AMD Ryzen 7 PRO 6850U (8C/16T 4.70Ghz) Radeon 680M Desktop Computer Dual NIC LAN 2.5G, 32GB DDR5 +1TB SSD, Dual USB4, HDMI 2.1, USB-C M7 Ultra Global Recycled Standard

GMKtec Mini PC Gaming, AMD Ryzen 7 PRO 6850U (8C/16T 4.70Ghz) Radeon 680M Desktop Computer Dual NIC LAN 2.5G, 32GB DDR5 +1TB SSD, Dual USB4, HDMI 2.1, USB-C M7 Ultra Global Recycled Standard

(941)
$929.99
FREE delivery Sat, Jan 3
Loading...
EZDIY-FAB RTX 3000 Series 12 Pin to Dual 8 Pin PCIe Sleeved Extension Cable 300 MM- Connector for NVIDIA Ampere GEFORCE RTX 3060ti 3070 3080 FE Funder Edition- White

EZDIY-FAB RTX 3000 Series 12 Pin to Dual 8 Pin PCIe Sleeved Extension Cable 300 MM- Connector for NVIDIA Ampere GEFORCE RTX 3060ti 3070 3080 FE Funder Edition- White

(122)
$15.99
FREE delivery Mon, Feb 16 on your first order
Loading...
Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black
Best Seller

Corsair Vengeance LPX 32GB (2 X 16GB) DDR4 3200 (PC4-25600) C16 1.35V Desktop Memory - Black

(16,675)
$112.99$101.69
FREE delivery Sun, Aug 10
500+ bought in past month
Loading...
Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)

Samsung 990 EVO Plus - 4TB PCIe Gen4. X4, Gen5. X2 NVMe 2.0 - M.2 Internal SSD, Speed Up to 7,250 MBs, Upgrade Storage for PC-Laptops, HMB Technology and Intelligent Turbowrite (MZ-V9S4T0B/AM)

(1,811)
$359.99$341.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]

SAMSUNG EVO Select Micro SD-Memory-Card + Adapter, 128GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME128SA/AM) [Canada Version]

(12,472)
$19.99$18.59
FREE delivery Sun, Aug 10 on your first order
400+ bought in past month
Loading...
Samsung EVO Select Micro SD Memory Card + Adapter, 256GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME256SA/AM) [Canada Version]

Samsung EVO Select Micro SD Memory Card + Adapter, 256GB microSDXC 160MB/s Full HD & 4K UHD, UHS-I, U3, A2, V30, for Android Smartphones, Tablets, Nintendo-Switch (MB-ME256SA/AM) [Canada Version]

(11,340)
$34.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]

SAMSUNG 870 EVO SATA SSD 500GB 2.5” Internal Solid State Drive, Upgrade PC or Laptop Memory and Storage for IT Pros, Creators, Everyday Users, MZ-77E500B/AM [Canada Version]

(41,678)
$74.97
FREE delivery Wed, Jun 18
400+ bought in past month
Loading...
CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

(17)
$379.99
FREE delivery Sun, Aug 24
Loading...
CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intel® LGA 1700, AMD® AM5 and Older - White

CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intel® LGA 1700, AMD® AM5 and Older - White

(56)
$149.99$125.33
FREE delivery Sun, Aug 24
Loading...
CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

(235)
$879.99
FREE delivery Sun, Aug 24
Loading...
Razer DeathAdder Essential Gaming Mouse: 6400 DPI Optical Sensor - 5 Programmable Buttons - Mechanical Switches - Rubber Side Grips - Classic Black

Razer DeathAdder Essential Gaming Mouse: 6400 DPI Optical Sensor - 5 Programmable Buttons - Mechanical Switches - Rubber Side Grips - Classic Black

(15,297)
$24.99$23.24
FREE delivery Sat, Apr 11 on your first order
400+ bought in past month
Loading...
CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

CORSAIR Hydro X Series iCUE Link XH405i Custom Cooling Kit – Hardline Water Cooling Loop – XC7 Elite CPU Water Block – XD5 Elite D5 Pump Res – XR5 360mm Radiator – 3X QX120 RGB Fans

(235)
$879.99
FREE delivery Sun, Aug 24
Loading...
CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

CORSAIR iCUE Link XD5 RGB Elite LCD Pump-Reservoir Unit - D5 PWM Pump - 480x480 IPS LCD Screen - 22 Addressable RGB LEDs - 440ml Nylon Reservoir - White

(17)
$379.99
FREE delivery Sun, Aug 24
Loading...
CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intel® LGA 1700, AMD® AM5 and Older - White

CORSAIR iCUE Link XC7 RGB Elite CPU Water Block - Transparent Flow Chamber - 24 RGB LEDs - Fits Intel® LGA 1700, AMD® AM5 and Older - White

(56)
$149.99$125.33
FREE delivery Sun, Aug 24