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

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 40

  • @nicenaija9952
    @nicenaija9952 7 месяцев назад +10

    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  7 месяцев назад +1

      Thanks a lot, appreciate it!
      Celery + Huey will be coming up soon!

  • @juancamilogallegogarcia2758
    @juancamilogallegogarcia2758 2 месяца назад +1

    Just one thing to say. THANKS!

  • @hamrabadi
    @hamrabadi 6 месяцев назад +1

    I truly believe your videos are the best in RUclips for Django Intermediate level and above. thank you sooo much :)👌

  • @MrValVet
    @MrValVet 5 месяцев назад +1

    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.

  • @lfc5times130
    @lfc5times130 7 месяцев назад

    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.

  • @mediatester9440
    @mediatester9440 7 месяцев назад +1

    Thanks for explaining in easy way
    please create a video for deployment with docker as well

  • @avvie9662
    @avvie9662 7 месяцев назад

    great video, love seeing how to use best practices for production!

  • @jonl316
    @jonl316 7 месяцев назад

    Thanks so much, I've been looking for a good tutorial of this.

    • @bugbytes3923
      @bugbytes3923  7 месяцев назад

      Thanks for the comment, hope the video was useful!

  • @amine63404
    @amine63404 7 месяцев назад +1

    Very interesting, thank you.

  • @AmoahDevLabs
    @AmoahDevLabs 7 месяцев назад

    Thanks for sharing.

  • @alexdin1565
    @alexdin1565 7 месяцев назад +3

    please you said you will make a playlist about django channels tutorial
    are you still planing to do it or not?

    • @bugbytes3923
      @bugbytes3923  7 месяцев назад

      Definitely planning it but will not be for a few months at least.

  • @kushalpy
    @kushalpy 7 месяцев назад

    Great big brother

  • @aashayamballi
    @aashayamballi 7 месяцев назад

    Thank you!

  • @mohammadadeeb4191
    @mohammadadeeb4191 7 месяцев назад

    Bro you always teach something new . But bro would you make django rest framework playlist.
    Thanks

  • @LêTrungVũHà
    @LêTrungVũHà 7 месяцев назад

    thank you

  • @IqbalArain-io3du
    @IqbalArain-io3du 7 месяцев назад

    Hi BugBytes, For how long have you been Django'ing?

  • @Yarkanlaki
    @Yarkanlaki 7 месяцев назад

    🙏 thanks

  • @frameff9073
    @frameff9073 7 месяцев назад +1

    thank

  • @sachingaikwad123
    @sachingaikwad123 4 месяца назад

    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?

  • @sachingaikwad123
    @sachingaikwad123 4 месяца назад

    Why did you move BASE_DIR setting to .env file? Can you please explain?

  • @aryaappajimandarapu782
    @aryaappajimandarapu782 4 месяца назад

    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.

  • @repotranstech
    @repotranstech 7 месяцев назад

    Do a tutorial on django-sonar.

  • @recaia
    @recaia 7 месяцев назад

    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?

  • @TahirZaqout
    @TahirZaqout 7 месяцев назад

    thanks 🥰
    what about use django-oscar or saleor ?

    • @bugbytes3923
      @bugbytes3923  7 месяцев назад +1

      Would love to do some content on those! Hopefully in the future!

  • @Jakub1989YTb
    @Jakub1989YTb 7 месяцев назад

    When importing the stars to the base settings, your best luck is to hope you are not shadowing any variables names.

    • @DhavalAhir10
      @DhavalAhir10 7 месяцев назад

      It doesn't matter.
      You should always inherit everything from base import *.
      When you are using dev settings vs production settings