7 Critical Django Production Server Settings to Configure Before Going Live

7 Critical Django Production Server Settings to Configure Before Going Live

Tony Teaches Tech

3 года назад

31,830 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Arnau Adell
Arnau Adell - 29.08.2023 06:52

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.

Ответить
J Voynar
J Voynar - 27.08.2023 06:40

Very nice, thank you!

Ответить
Bronax Corps
Bronax Corps - 26.07.2023 04:48

Hey how can I separate my development database from my production database??

Ответить
JV Sydroy Rakotonomenjanahary
JV Sydroy Rakotonomenjanahary - 23.06.2023 01:41

Thank you!

Ответить
Noajm IsMy Name
Noajm IsMy Name - 03.06.2023 22:27

Tony. Tony. Tony. You are awesome!

Ответить
Balaji Shetty
Balaji Shetty - 30.12.2022 12:05

Excellent tutorial. Can you give expert lectures in our college on Django . Whatsapp Me

Ответить
Ricardo Maldonado
Ricardo Maldonado - 24.10.2022 22:52

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

Ответить
Joe Musya
Joe Musya - 16.10.2022 18:30

Found this video in the right time💯💯🤗😊

Ответить
Codepen
Codepen - 12.10.2022 19:14

Brother when I enable debug=False Static file not working? Please help me. I am using VPS hosing with centos 7

Ответить
JC Mbisa
JC Mbisa - 27.09.2022 03:52

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

Ответить
Mada Media
Mada Media - 31.08.2022 20:47

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

Ответить
Dheeraj Yadav
Dheeraj Yadav - 04.08.2022 22:21

Abe Bhai kya bta rha

Ответить
Andres Garcia
Andres Garcia - 29.07.2022 18:11

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

Ответить
enrique uzcategui
enrique uzcategui - 15.07.2022 15:11

Hey Tony! Thanks for the video! I have a problem with a Django deployment, how can I hide the "Server" header? It's something i am being asked to do but I don't seem to find a way to hide/remove it. Thank you!

Ответить
Niten Sapkota
Niten Sapkota - 25.06.2022 22:35

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 ..

Ответить
John Solly
John Solly - 09.04.2022 07:53

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

Ответить
shivam dubey
shivam dubey - 08.04.2022 08:02

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

Ответить
Alexi Space
Alexi Space - 14.03.2022 05:33

after set SECURE_SSL_REDIRECT = True I always get: True page isnt redirecting properly ...

Ответить
Daniel Lloyd
Daniel Lloyd - 11.01.2022 04:34

Thank you!

Ответить
LegoZone
LegoZone - 07.01.2022 15:18

Best Tutorial i have ever seen! Your Awsome!

Ответить
Anubhuti Gupta FMS
Anubhuti Gupta FMS - 24.12.2021 16:24

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

Ответить
myChannel
myChannel - 23.11.2021 17:58

I was wondering what is the purpose of the secure key and why we need to hide it. Also what about the database connection string? Should we hide that as well ?

Ответить
Navid Azimi
Navid Azimi - 31.10.2021 22:04

Thank you so much this was so useful 🙏🏻

Btw,I’m trying to serve my media files from a file hosting service that is connected to my main domain as a sub domain.
I don’t know how should i tell Django to upload video files(inside media) to the other host..
Any help will be appreciated🙏🏻

Thank you so much🙏🏻

Ответить
Taylor Craig
Taylor Craig - 28.08.2021 18:34

Wow this was super helpful, thanks!

Ответить
mahdi daoud
mahdi daoud - 13.08.2021 15:40

Can you please explain the SECURE_PROXY_SSL_HEADER setting what it does for the django project and how to set it

Ответить
Good For You Living
Good For You Living - 26.07.2021 10:54

When I change DEBUG=False all my media files (images) are not showing up? What is the correct way to make this work ?

Ответить
Toluwanimi Adeyemo
Toluwanimi Adeyemo - 04.07.2021 14:53

Great video! Thanks
But how do I hide my database details, email details
What about using .env file?

Ответить
Fix Enlarged Prostate Naturally
Fix Enlarged Prostate Naturally - 10.06.2021 20:46

Awesome! Thanks a lot!

Ответить
CeeSiama
CeeSiama - 28.05.2021 14:52

I have a problem in reading env variables from ubuntu server. I can hide the credentials to environment just fine in devlopment as well as production. But the trick is my django app cannot retrieve that env keys in production. I'm missing something. I am searching for solutions, still searching for it. I'm not a great programmer, but I don't think this is hiding the secret key. It just relocate the key to a text file which is in the same directory as the app itself. How is that hiding? I'm confused.

Ответить
Mark Wöllert
Mark Wöllert - 22.05.2021 04:25

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

Ответить
Elu Thingol
Elu Thingol - 08.05.2021 07:01

Why not a secret key in an .env? Coming from the JS world just a few weeks ago. Noticed they used a similar system.

Ответить
Mukibul Hasan
Mukibul Hasan - 07.05.2021 05:48

nice information bro

Ответить
Kunal Kashyap
Kunal Kashyap - 24.04.2021 00:21

If I make these changes while my website is running on the server, do I need to restart the uwsgi service after making these changes or not?

Ответить
Rounak Chourasia
Rounak Chourasia - 17.04.2021 19:49

That intro after that calm voice! I was on 80% volume! :(

Ответить
Pablo Dominguez
Pablo Dominguez - 06.04.2021 00:47

What a great video with a great recommendations, thank you

Ответить
JOEL MIRUNI
JOEL MIRUNI - 08.03.2021 23:55

Brief and Straight to the point. Thanks. How could i solve this error: [Errno 99] Cannot assign requested address while registering users via email confirmation. Everything seems to work fine in development.

Ответить
Ingerman Páez
Ingerman Páez - 19.01.2021 12:56

I am so grateful. God bless you son.

Ответить
Enzo Pascucci
Enzo Pascucci - 18.01.2021 18:29

After setting hsts setting i couldn't been able to run on localhost to changes anything

Ответить
The Bewerter
The Bewerter - 17.01.2021 01:51

Cool, thanks!

Ответить
Krzysztof Szumko
Krzysztof Szumko - 06.01.2021 16:21

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

Ответить
Vivek Sharma Pec
Vivek Sharma Pec - 23.12.2020 14:26

thanks bdy

Ответить
DS Creations
DS Creations - 01.12.2020 17:33

i got this error how to resolve with open (os.path.join(BASE_DIR, 'SECRET_KEY.text')) as f: SECRET_KEY = f.red().strip()
AttributeError: '_io.TextIOWrapper' object has no attribute 'red'

Ответить