7 Critical Django Production Server Settings to Configure Before Going Live

preview_player
Показать описание
• 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

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

Check out my vlog channel @TonyFlorida

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

Clear, concise, competent and to the point. Thank you!

EvaLindner-vv
Автор

1:32 - As for the secret key, also recommended to check the module 'decouple'. It does the same thing but in more elegant way.

madanielmadaniel
Автор

Dude, I'm so grateful to you for the work you've done on all of your videos

markwollert
Автор

This is the first time am actually seeing someone on YouTube shows with detail how to configure settings for Django production environment....i really appreciate you much on this....please can you make a video on how to deployment django with ability to send emails?? And with postgresql as the alot

anselsolomon
Автор

Great Video! Straight to the point, no time wasted just awesome :). Keep up the good work.

krzysztofszumko
Автор

Fucking amazing how quickly and concisely you could share all this information. And with very clear pronunciation too! Coming here in the future for any other django information I need.

arnauadell
Автор

This was an amazing video, learnt quite a lot of things which turned out to be very important! Thank you so much :)

cheesecakelover
Автор

Thank you so much for helping me figure this out. There were quite a number of settings I skipped on my production site settings.py file. Thanks once again.

KenoAlordiah
Автор

What a great video with a great recommendations, thank you

pabloxD
Автор

Have you made a video about deploying a Django site to a PaaS?? I feel IaaS is too hard and complicated for beginners like me. I don't feel i need all that control and setup a full Linux server from scratch for a simple portfolio website.

vectoralphaSec
Автор

What a solid video. Thanks! I just implemented these changes on my site!

johnsolly
Автор

Best Tutorial i have ever seen! Your Awsome!

TheLolcheater
Автор

handsome, smart, and well rich too, man many thanks 😀😀

jcmbisa
Автор

Found this video in the right time💯💯🤗😊

joemusya
Автор

Great tutorial sir do we have to change the file upload settings also

shivamdubey
Автор

So I am having issue, I hosted my project with render with a DB SQLite and when ever I update a listing in my admin after a few hours it resets/removes my listing I can’t seem to find my way around this please help

truefugazi
Автор

Great video thank you, i have issue with deploying project with Django corntab its works normally in local but in after production its not working anymore any hint to fix this issue

MadaMediaproduction
Автор

Un muy buen video felicitaciones por tu trabajo es un canal muy vacano de seguir (Y)

andresdemillos
Автор

Is it best practice to use the same database for development and production?

agresiv
Автор

Subscribed 🙌 can please make a video on how to access static files if you're hosting static files in digital ocean spaces ...i have hosted my static files in digital ocean spaces and I am not able to change anything on those files ..i have search online about it but they says AWS S3 is not mutable i have to download the files and edit the hosted file and then re-upload it which is not convenient ..

nitensapkota