Environment-based Settings in Django Projects | django-environ | Setup for local/production/testing

  Рет қаралды 5,674

BugBytes

BugBytes

Күн бұрын

Пікірлер: 43
@nicenaija9952
@nicenaija9952 9 ай бұрын
You make me a better developer!!! Thank you. Looking forward to a Celery, Huey, Dramatiq tutorial. Your django-webpack series is top notch!!
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks a lot, appreciate it! Celery + Huey will be coming up soon!
@hamrabadi
@hamrabadi 8 ай бұрын
I truly believe your videos are the best in KZbin for Django Intermediate level and above. thank you sooo much :)👌
@avvie9662
@avvie9662 9 ай бұрын
great video, love seeing how to use best practices for production!
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks a lot!
@juancamilogallegogarcia2758
@juancamilogallegogarcia2758 4 ай бұрын
Just one thing to say. THANKS!
@bugbytes3923
@bugbytes3923 4 ай бұрын
Thanks for commenting!
@MrValVet
@MrValVet 8 ай бұрын
Thanks a bunch for this. It would be great to see how the deployment process looks like with dev and production and how the further development process is. For example if you want to add a new feature, what are the steps you take.
@jonl316
@jonl316 9 ай бұрын
Thanks so much, I've been looking for a good tutorial of this.
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks for the comment, hope the video was useful!
@mediatester9440
@mediatester9440 9 ай бұрын
Thanks for explaining in easy way please create a video for deployment with docker as well
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thank you! Will do!
@lfc5times130
@lfc5times130 9 ай бұрын
The env file in Django is crucial. It holds sensitive information like API keys and database credentials, ensuring security while allowing for easy configuration. Thank you.
@amine63404
@amine63404 9 ай бұрын
Very interesting, thank you.
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks a lot!
@kushalpy
@kushalpy 9 ай бұрын
Great big brother
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thank you!
@sachingaikwad123
@sachingaikwad123 6 ай бұрын
Why did you move BASE_DIR setting to .env file? Can you please explain?
@AmoahDevLabs
@AmoahDevLabs 9 ай бұрын
Thanks for sharing.
@sachingaikwad123
@sachingaikwad123 6 ай бұрын
Why do we have DJANGO_SETTINGS_MODULE in .env file? I thought purpose of this is so that we can change here value from 'local' to 'production' and then simply run 'python manage.py runsever'. But for me, it did not change to 'production', it continued running 'local' settings. Is it somehow ignore .env value and just taking 'default' set in manage.py?
@TahirZaqout
@TahirZaqout 9 ай бұрын
thanks 🥰 what about use django-oscar or saleor ?
@bugbytes3923
@bugbytes3923 9 ай бұрын
Would love to do some content on those! Hopefully in the future!
@aashayamballi
@aashayamballi 9 ай бұрын
Thank you!
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks a lot!
@aryaappajimandarapu782
@aryaappajimandarapu782 6 ай бұрын
Sir I have a doubt if we are able to fetch data from .env why can't we read the values from it based on the environment. I don't understand clearly what is the purpose of creating separate settings file for every environment. As far my understanding I described above single settings file with the combination of env file is enough right? Please clarify my doubt.
@mohammadadeeb4191
@mohammadadeeb4191 9 ай бұрын
Bro you always teach something new . But bro would you make django rest framework playlist. Thanks
@HyperLinguist-AI
@HyperLinguist-AI Ай бұрын
More or less I followed what you did, but, can anyone explain how do we in practice use that configuration when we want to push it to github and then to our server? I actually understand nothing after this configuration. Why can't I simply ignore everything on this video and once I have finished developing I make the last important changes in the files like debug = False, and allowed_hosts to the IP and cname of my website. Can anyone give a hint?
@IqbalArain-io3du
@IqbalArain-io3du 9 ай бұрын
Hi BugBytes, For how long have you been Django'ing?
@alexdin1565
@alexdin1565 9 ай бұрын
please you said you will make a playlist about django channels tutorial are you still planing to do it or not?
@bugbytes3923
@bugbytes3923 9 ай бұрын
Definitely planning it but will not be for a few months at least.
@WebsiteInnovator
@WebsiteInnovator 20 күн бұрын
Should i be using multiple apps in a project?
@recaia
@recaia 9 ай бұрын
I liked the method of making Django Ninja Extra, but I feel frustrated that there are not more videos to learn this technique, as I found that it is somewhat different from Django Ninja, and I want to make a large High Performance project, but there are no sources. Can you explain what combinations of Django Ninja Extra projects will be large projects? Like Tik Tok or Amazon?
@Yarkanlaki
@Yarkanlaki 9 ай бұрын
🙏 thanks
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks for watching!
@LêTrungVũHà
@LêTrungVũHà 9 ай бұрын
thank you
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks for watching!
@frameff9073
@frameff9073 9 ай бұрын
thank
@bugbytes3923
@bugbytes3923 9 ай бұрын
Thanks for watching!
@repotranstech
@repotranstech 9 ай бұрын
Do a tutorial on django-sonar.
@Jakub1989YTb
@Jakub1989YTb 9 ай бұрын
When importing the stars to the base settings, your best luck is to hope you are not shadowing any variables names.
@DhavalAhir10
@DhavalAhir10 9 ай бұрын
It doesn't matter. You should always inherit everything from base import *. When you are using dev settings vs production settings
@homestead_freak
@homestead_freak Ай бұрын
I find this horribly convoluted and complicated
django-unfold - TailwindCSS Admin Theme for Django!
25:14
BugBytes
Рет қаралды 10 М.
Vim Tips I Wish I Knew Earlier
23:00
Sebastian Daschner
Рет қаралды 88 М.
Simplify Django development with Docker - 2024
25:38
Cloud With Django
Рет қаралды 5 М.
Django & HTMX App - Setup, Models and Management Command
25:35
Python Logging: How to Write Logs Like a Pro!
11:02
ArjanCodes
Рет қаралды 188 М.
Django-Ninja APIs - Modern API Development in Django
43:40
BugBytes
Рет қаралды 24 М.
Go Concurrency Explained: Go Routines & Channels
7:50
Melkey
Рет қаралды 94 М.