12. Deploy Django Project With Postgresql Database To Heroku | Django Blog

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

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

  • @OjoDike
    @OjoDike Год назад +1

    Mannn, you really came clutch with this tutorial. I was stuck on deploying to Heroku and all reference on youtube were a bit outdated. Thanks for this. Much appreciated.

  • @alexanderschonfeld320
    @alexanderschonfeld320 8 месяцев назад +1

    Thanks a lot. A great tutorial by far. Love it.

    • @the_proton_guy
      @the_proton_guy  8 месяцев назад

      Thank you! I am glad I could help 🎉🎉

  • @kutayyildirim1160
    @kutayyildirim1160 9 месяцев назад +1

    Helped me a lot on a tight deadline. Thanks a lot!

  • @rubenhernandoprietosolano5069
    @rubenhernandoprietosolano5069 2 года назад

    thanks for this video man, i really feel that the recently knowledge about deployment is very hard to access, it´s necesary more videos in the community about the most recent problems and bugs and how to can resolve

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

    Great explanation, will we have problems with static files loading?

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

      If you set them up properly, no. You can set them up using whitenoise. I have a tutorial where i explained how to:
      ruclips.net/video/OeywgMArAGM/видео.htmlsi=yBZk5ZmSq_rzwfW1

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

      @@the_proton_guy Thankyou

  • @AbicEpress
    @AbicEpress Год назад

    Thank you very much .

  • @ji156_
    @ji156_ Год назад +1

    thanks :)

  • @badrikandikonda3018
    @badrikandikonda3018 9 месяцев назад +1

    Can we search it in India by keeping the region as us ??

    • @the_proton_guy
      @the_proton_guy  9 месяцев назад

      Yes, you will be able to access your website even if the location is us

  • @Alex-xi3bw
    @Alex-xi3bw Год назад

    used this for 3 different projects this semester

  • @sanataniye_sanskriti
    @sanataniye_sanskriti Год назад

    Hello, i am unable to see option Hobby Dev - Free in Heroku Postgres Resources

    • @the_proton_guy
      @the_proton_guy  Год назад

      Hii, yes, that's true. They have removed their hobby plan

  • @haritpatel5001
    @haritpatel5001 Год назад

    is heroku free for hosting a demo project ?

  • @infinitehealthy
    @infinitehealthy 2 года назад

    Thanks for the latest video man. I've a challenge whenever I set debug to False I reverse a 500 sever error message but when Debug if True nothing happens.
    What do you think is the cause of this.
    Thank you sir

    • @the_proton_guy
      @the_proton_guy  2 года назад

      I had this very error recently. When deploying, did you specify any domains in the allowed hosts list in the settings.py?

    • @infinitehealthy
      @infinitehealthy 2 года назад

      @@the_proton_guy I specified as allowed host ['*']

    • @the_proton_guy
      @the_proton_guy  2 года назад

      It is not advised to use [*] in production, as it isn't secure. Instead, what you can try is this:
      In your allowed hosts, pass in the url that hosts your website. Example:
      ALLOWED_HOSTS = ['www.domain.com']

    • @infinitehealthy
      @infinitehealthy 2 года назад

      @@the_proton_guy it's basically a STATIC FILE ERROR, I put this line in Settings.py: DEBUG_PROPAGATE_EXCEPTIONS = True , at the bottom and it pointed to me the exact file giving problems. Thanks

    • @the_proton_guy
      @the_proton_guy  2 года назад

      I am glad you were able to fix the error

  • @unnatinandrekar99
    @unnatinandrekar99 Год назад

    Dude, you don't have a postgresql database, just wasted 15 mins of my time, just correct your title

    • @the_proton_guy
      @the_proton_guy  Год назад +1

      Maybe your problem is patience? At exactly 14:09 I talked about creating and connecting a postgresql database. Watch the tutorial closely before dropping a comment complaining