Heroku Postgres Connection | Django (3.0) Crash Course Tutorials (pt 24)

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ก.ย. 2024
  • Check out my Complete Django course! dub.sh/NvGboTI
    Connection Django-Heroku app to PostgreSQL database to heroku default and AWS RDS instance.
    Follow me on Twitter: / dennisivy11
    LinkedIn: / dennis-ivanov
    Live Demo: dennisivy-crm....

ความคิดเห็น • 139

  • @DennisIvy
    @DennisIvy  หลายเดือนก่อน

    Don't forget to check out my Complete Django course! dub.sh/NvGboTI

  • @nazishaslam9576
    @nazishaslam9576 3 ปีที่แล้ว +3

    This is by far the best tutorial on django live app I've ever watched. It not only covers the basic django web app development, but also many of the important things a web developer should know like AWS, database platforms (postgres, pgadmin etc), heroku etc. Just loved it. Thanks Dennis.

  • @haythamkenway8343
    @haythamkenway8343 4 ปีที่แล้ว +39

    Best Django course on youtube

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +1

      Thank you! So awesome to hear that :)

    • @louiedustin2256
      @louiedustin2256 3 ปีที่แล้ว +1

      i realize I am quite off topic but does anyone know of a good place to stream newly released movies online?

    • @jeremiasabel7288
      @jeremiasabel7288 3 ปีที่แล้ว

      @Louie Dustin i would suggest FlixZone. You can find it by googling :)

  • @omulo
    @omulo 2 ปีที่แล้ว

    You just don't know how much of a life saver you are. Been struggling to load my fixtures in heroku for 3 days now. Who knew it was this easy🤦🏾‍♂️.

  • @bloosea123
    @bloosea123 2 ปีที่แล้ว

    My posts kept deleting because they were stored on the default SQLite database and I spent hours looking for the reason why and then looking for how to switch to Postgres. This video was the one that finally helped me solve it (I wasn't migrating to the postgres database). Thank you so much!

  • @ericksaenz7418
    @ericksaenz7418 4 ปีที่แล้ว +2

    Keep your head up King. You saved me from a ton of frustration.

  • @matthieuo39
    @matthieuo39 4 ปีที่แล้ว +12

    I'm waiting for the next video thanks for everything !

  • @thetechystuff9971
    @thetechystuff9971 4 ปีที่แล้ว

    Teaching is really a call to you... I mean it. You really know what you're talking about and how to explain concepts, even to those who are new to them such that they understand clearly.

  • @brenninyoung487
    @brenninyoung487 4 ปีที่แล้ว +6

    Would love the next video! Thank you for all you do! Cant wait for the final product... this has really taught me a lot as I have just got into using python. Great real world project!

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +4

      Thank you :) I'll have to finish this up with a custom domain and pagination.

    • @erch3rejc986
      @erch3rejc986 ปีที่แล้ว

      @@DennisIvy did you end up making that video on a custom domain name?

    • @DennisIvy
      @DennisIvy  ปีที่แล้ว

      @@erch3rejc986 not for this series but yes, it’s a stand alone video that will get the job done

  • @DividendCompass
    @DividendCompass 4 ปีที่แล้ว +1

    Thanks to your videos in this series, I've been able to create the app of my dreams. I always thought I'd have to hire an expensive developer and pay thousands of $, but I was able to create something pretty good from scratch. Your content is incredible, man.
    Thanks, Dennis! 😄

  • @maanavseth8828
    @maanavseth8828 8 หลายเดือนก่อน

    best thing ever, has been 3 years still nothing can beat this tutorial. Maybe for the next 5 years as well!

  • @daddypop4299
    @daddypop4299 ปีที่แล้ว

    cant believe how many time your videos has helped me i wish i made alot of money to be able to donate to you

  • @yellowmcgee
    @yellowmcgee 3 ปีที่แล้ว +2

    This has been an amazing tutorial series! Thank you for all the work you put into providing these types of resources for the general viewer. Will there be that last video about linking the project to a different domain name, etc?

  • @folorunso
    @folorunso 3 ปีที่แล้ว

    Great series Dennis. Really really well put together. Even as an experienced django developer, I learned quite a lot from the series. One point to note though. Heroku postgres is also production-ready. You know heroku as whole does not have their own proprietary infrastructures/servers. Their entire platform runs on aws EC2. Using aws' direct RDS may have a few more perks, but using heroku's postgres will be just fine.

  • @computinginfo3187
    @computinginfo3187 4 ปีที่แล้ว +2

    My notification is on. hope to have the domain name video soon. Thanks again!

  • @just__mjay
    @just__mjay ปีที่แล้ว

    This is the best django tutorial I've come across

  • @aavlasti
    @aavlasti 4 ปีที่แล้ว

    Finished!!!! Yeaaah . Best Django tutorial ever. Best Instructor Dennis! wait for the next one.

  • @mdbelalhosen5898
    @mdbelalhosen5898 4 ปีที่แล้ว +2

    you are just awesome !!!... i watched all the videos of this playlist at once :) thanks a lot man. waiting for next video on custom domain.

    • @worlacodes
      @worlacodes 4 ปีที่แล้ว

      Good work Dennis, need that video on custom domain ASAP. THANKS and keep helping us grow in Python and Django.

  • @francisodero1987
    @francisodero1987 3 ปีที่แล้ว

    best tutorials ever in youtube for django

  • @PRASHANTKUMAR-wd9ww
    @PRASHANTKUMAR-wd9ww 4 ปีที่แล้ว

    Dennis you are just awesome.keep making such type of series.

  • @willwang890
    @willwang890 2 ปีที่แล้ว

    Thanks fam this allowed me to finally finish deployment

  • @SS010791
    @SS010791 4 ปีที่แล้ว

    Thank you Dennis for the amazing crash course! Loved the explanations! Wohooo finished! Looking forward to the next series!

  • @aytacaliyeva0
    @aytacaliyeva0 2 ปีที่แล้ว

    Thank you so much! It was great serie to learn!

  • @mzwandilewilliams5502
    @mzwandilewilliams5502 4 ปีที่แล้ว

    Best ever series :) thank you so much Dennis. I look forward to more videos and courses

  • @aliounebadarapierreniang793
    @aliounebadarapierreniang793 4 ปีที่แล้ว

    one of the best django tuto i have seen

  • @yashinshekh802
    @yashinshekh802 ปีที่แล้ว

    you videos are great dennis

  • @oskarquintanagarcia5420
    @oskarquintanagarcia5420 ปีที่แล้ว

    This has been an excellent tutorial.🤘
    Thank you very much for sharing!!!

  • @malikbehzad4945
    @malikbehzad4945 7 หลายเดือนก่อน

    Thank you, it was a great help!

  • @achrafbouzekri709
    @achrafbouzekri709 3 ปีที่แล้ว +1

    god bless you man, god bless you !!!

  • @quantummodetech6201
    @quantummodetech6201 2 ปีที่แล้ว

    You are the best. Keep it up

  • @brianssendagire262
    @brianssendagire262 4 ปีที่แล้ว

    Well done Dennis, you're a legend

  • @vehanhemsara9793
    @vehanhemsara9793 3 ปีที่แล้ว +1

    Thank Yo So Much Dennis Sir! these tutorials are really helpful

  • @jbhanehoj
    @jbhanehoj 4 ปีที่แล้ว +1

    Why didn't you show how to enable the S3 bucket for deployment.

  • @ranwei3423
    @ranwei3423 2 ปีที่แล้ว

    This is a really helpful tutorial. Thanks for sharing!

  • @TanDjent
    @TanDjent 3 ปีที่แล้ว

    Thanks, man you saved me. I was sweating about why my rest API is returning empty lists then I changed the URL and it started working as it was on the local host.

  • @OSquiddy
    @OSquiddy 4 ปีที่แล้ว +1

    What's the advantage of using a database on AWS compared to the one Heroku provides for you? Also could you upload a video showing how to migrate all the data from the sqlite database to the postgres one?

  • @TheAremoh
    @TheAremoh 4 ปีที่แล้ว

    Denis is a life saver.

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +1

      Haha thanks! Glad I can help :)

  • @eliercastanedaluna8234
    @eliercastanedaluna8234 3 ปีที่แล้ว

    Really a master. Thanks for sharing your knwoledge

  • @aashayamballi
    @aashayamballi 4 ปีที่แล้ว +2

    Hey Dennis, could you please make a video on implementing django with celery. This would be really helpful. And thank you for all your efforts!

    • @zulqarnainbutt9473
      @zulqarnainbutt9473 4 ปีที่แล้ว +1

      Agree. I also want it.

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +3

      I might do this when I make our chat application. I used channels before but that was so long ago I can remember if I used celery.

    • @aashayamballi
      @aashayamballi 4 ปีที่แล้ว

      @@DennisIvy woah !!! chat application! Can't wait for it...

    • @mohamnedgh5244
      @mohamnedgh5244 4 ปีที่แล้ว +1

      Wooow!!!!! This super amazing i have been waiting to see Chat project please iveniy hurry up you will never regret it lots fans😍

    • @mohamnedgh5244
      @mohamnedgh5244 4 ปีที่แล้ว

      Ivy*

  • @ricardofigueroa3759
    @ricardofigueroa3759 3 ปีที่แล้ว

    Hey Dennis, thank you this has been great! Will you finalize the series or will this be the last video?

  • @TrungNguyen-kt3lt
    @TrungNguyen-kt3lt 3 ปีที่แล้ว

    Very helpful and precise tutorial. Thankyou!

  • @allyasuncion6380
    @allyasuncion6380 3 ปีที่แล้ว

    Thanks for the Django tutorial.

  • @GabrielRibeiro-xr3bx
    @GabrielRibeiro-xr3bx 4 ปีที่แล้ว

    Hey Dennis!
    Would you make videos about realtime applications? Both developing and deploying to Heroku? Cause it really takes us a step further in a sense of businesses we could develop. Thank you very much

  • @magiccode3396
    @magiccode3396 3 ปีที่แล้ว

    amazing content Dennis thanks

  • @SACSbeats
    @SACSbeats 2 ปีที่แล้ว

    Thanks! This was really helpful!

  • @marianobenitez9781
    @marianobenitez9781 2 ปีที่แล้ว

    Man you helped me a lot you awesome thanks

  • @RM-ox6fn
    @RM-ox6fn 4 ปีที่แล้ว +1

    Ty for all Dennis

  • @helloworld1481
    @helloworld1481 4 ปีที่แล้ว +1

    Create Customer not working????

  • @rangabharath4253
    @rangabharath4253 4 ปีที่แล้ว

    Awesome. Thank u so much Dennis

  • @BalwantSingh-zt8vx
    @BalwantSingh-zt8vx 3 ปีที่แล้ว

    Worked for me, Thank you so much bro

  • @farzinnasiri1084
    @farzinnasiri1084 4 ปีที่แล้ว +1

    a just finish the series! It was Amazing. Tnx :)

  • @marsitschool9495
    @marsitschool9495 2 ปีที่แล้ว

    Hi Dennis you didn't mention about AWS how we can work with that ????

  • @AnasLahrech
    @AnasLahrech 3 ปีที่แล้ว

    Thanks a lot man ! God bless you !

  • @csandreas1
    @csandreas1 4 ปีที่แล้ว

    Dennis why didn't you choose aws for hosting the django project?

  • @defaultname1131
    @defaultname1131 3 ปีที่แล้ว

    Excellent work

  • @damonwu9658
    @damonwu9658 4 ปีที่แล้ว

    Thanks man, great stuff

  • @sty857
    @sty857 2 ปีที่แล้ว

    Very basic question guys - does deploying to Heroku (based on django's default DB settings not work? IOW - is this above only for production type deployments?

  • @detofaentreprise9427
    @detofaentreprise9427 2 ปีที่แล้ว

    Hello dennis. what is wrong with the heroku DB ?why did you change it to RDS?

  • @kvnagendra5354
    @kvnagendra5354 4 ปีที่แล้ว

    Hey dennis tnx for effort and keep rocking

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +1

      Thank you my friend :)

  • @BhatiJhabarSingh
    @BhatiJhabarSingh 4 ปีที่แล้ว +2

    sir i am learning django to integrate Machine learning algo at the backend for that should i learn more django or is it enough?

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +2

      That's a good question. Honestly I do not know enough to answer directly or explain how. Their should definitely be a way. I'm working with a few people who know machine learning and will try to apply something to a django project. Something with learning users behavior and providing recommendations.

    • @BhatiJhabarSingh
      @BhatiJhabarSingh 4 ปีที่แล้ว

      @@DennisIvyok sir and thanks for the reply

  • @sohamwattamwar8858
    @sohamwattamwar8858 3 ปีที่แล้ว

    Really loved this course sir...
    Sir can you please extend this tutorial with a video on converting a functional website to progressive web application (PWA)..

  • @georgioschristopoulos3303
    @georgioschristopoulos3303 3 ปีที่แล้ว +1

    Hi Dennis, I can't access on the admin site on production (heroku). The error message is Server Error (500). Any advice?

    • @marekgorski4005
      @marekgorski4005 3 ปีที่แล้ว

      Maybe change debug to true and see what the error is

    • @georgioschristopoulos3303
      @georgioschristopoulos3303 3 ปีที่แล้ว

      @@marekgorski4005 with debug true I dont have any errors. Also when the debug is false only the admin site has the problem.

  • @isaacmukama5265
    @isaacmukama5265 4 ปีที่แล้ว

    Yes Dennis, I am asking that you work on a tutorial where we can actually add data from an excel file into our django project because many times a client will actually have some data in an excel file and you want it added into the models for continuity of his data into the system.

    • @veo2378
      @veo2378 4 ปีที่แล้ว

      Actually, this type of problem is a part of basic computing student knowledge. Learn some more about data bases ( I think starting with LibreOffice and doing stuff like data base for shops is a great idea).
      Here is solution of your problem:
      stackoverflow.com/questions/20039856/import-excel-data-into-postgresql-9-3

  • @JollyBeJolly
    @JollyBeJolly 4 ปีที่แล้ว +1

    My static files are causing me a big problem when I put Debug = False

    • @hansalexander1051
      @hansalexander1051 4 ปีที่แล้ว

      Insert
      STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles')
      in your settings.py.
      and then use
      python manage.py collectstatic

  • @UmangDhandhania
    @UmangDhandhania 4 ปีที่แล้ว

    Thanks Dennis for the course. Can you help me with this issue: Since we don't keep debug true, media files are not served on the deployed app. How can we go about that? An early reply will be appreciated 😀

  • @treedigital346
    @treedigital346 2 ปีที่แล้ว

    how to deploy my project as local server if i want to make my project in company not in the internet please tell me how

  • @FarrokhRostamiKia
    @FarrokhRostamiKia 4 ปีที่แล้ว +1

    hey, Dennis thanks for the series. Somehow I can't manage to bypass the Heroku timeout error. I've followed all your steps but still getting that error! any suggestion?

    • @FarrokhRostamiKia
      @FarrokhRostamiKia 4 ปีที่แล้ว

      found the solution. I dont know why but I had to include `amazon RDS CA Certificate` file in my project and update my DATABASE_URL key in Heroku to : postgres://username:password@**.us-east-2.rds.amazonaws.com/dbname?sslrootcert=config/amazon-rds-ca-cert.pem&sslmode=require

  • @amarnath091
    @amarnath091 4 ปีที่แล้ว

    Do you use containers and orchestration for Django applications? If so can you upload the CICD process?

  • @sammcintyre26
    @sammcintyre26 3 ปีที่แล้ว

    What's the reasoning behind having the local database to be sqlite and the heroku database be postgresql? Seems like would you want those to be in sync with each other.

  • @frassettiguido
    @frassettiguido 3 ปีที่แล้ว

    The django admin panel and my site doesnot load the styles

  • @jayvardhansingh2713
    @jayvardhansingh2713 2 ปีที่แล้ว

    Hey, Dennis, I am developing a application wherein I have two model, one is company and another is engagement. I inherit company model in engagement model. Now when I tried to add data in engagement form, from front end am I am able to see other user added company as well in dropdown menu. I want only user who added company can only see his own company while filling the engagement form. I am using function based view. Waiting for your reply. Please advice.

  • @ashleyadrias
    @ashleyadrias 4 ปีที่แล้ว

    how to do you route the profile pictures to a certain folder in s3?

  • @serwisrowerowy3234
    @serwisrowerowy3234 3 ปีที่แล้ว

    why we don't use Cloudinary.

  • @captainwalter
    @captainwalter 2 ปีที่แล้ว

    mvp!

  • @abrorxalilov2550
    @abrorxalilov2550 4 ปีที่แล้ว

    thank you for the video

  • @tanayshah5234
    @tanayshah5234 3 ปีที่แล้ว

    when I run the command "git remote -v" it shows me that it isn't a git repository...now that idk in which cmd prompt you ran these commands. may you help me with this ?

  • @Magistrado1914
    @Magistrado1914 4 ปีที่แล้ว

    Excellent course
    01/08/2020

  • @akdrummer1797
    @akdrummer1797 3 ปีที่แล้ว

    Do we need to move it to AWS? Can we just leave it as it is after migrating the changes at 11:54 .

  • @grandorigins6682
    @grandorigins6682 3 ปีที่แล้ว

    Hi Dennis, I have enrolled in your ecommerce tutorial as well done most of the others. I am struggling with deploying my web-portfolio.
    I have tried aws and made all my object public as well used the bucket policy in permissions. My static web-app deploys but no images.
    I tried using heroku and making an index.php and composer.json file and again it deploys but no images. Please could you help me i would really appreciate it.

  • @alihusham1560
    @alihusham1560 3 ปีที่แล้ว

    where this crm_live came from ?

  • @diptampaul7595
    @diptampaul7595 3 ปีที่แล้ว

    How can we check the tables from the Heroku Postgre Database?

  • @MOI-su4lx
    @MOI-su4lx 2 ปีที่แล้ว

    Hey dennis, I am a developer and I have a django project, which runs the APIs for my project and it will be connected to a react native app.
    So I have a doubt I want only my app to access this API but if I upload it to heroku server the APIs will be universally available, do you have any suggestions on how can I stop this.

    • @ShopSocio
      @ShopSocio ปีที่แล้ว

      use django rest framework

  • @MrGro0Ve
    @MrGro0Ve 4 ปีที่แล้ว

    Hello dennis , i have done your guide and i have uploaded a website and all was fine 3 months now , but the Amazon RDS start charging me and i have to pay like 30$ for previous month . Any ideas how to make it free?

  • @kalelcracker783
    @kalelcracker783 4 ปีที่แล้ว

    all of your videos are awesome, but do you have also for generating reports from the database that you created? tnx

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว +1

      Thank you!
      Are you asking about generating reports as in turning database rows into an excel sheet?

    • @kalelcracker783
      @kalelcracker783 4 ปีที่แล้ว

      @@DennisIvy yup, like what you did in JSON Array to HTML and Render HTML to PDF videos.

  • @kuldeepsainiiii
    @kuldeepsainiiii 3 ปีที่แล้ว

    Please make video how to push our local postgress database data on heroku database in Django. I trying using "heroku pg: push localdbname DJANGO_URL
    --app appname" but it says that pg_dump: connection failed because password dont match for the user.....PLEASE HELP

  • @ashishprasad8957
    @ashishprasad8957 3 ปีที่แล้ว

    thank you !

  • @peanutsee
    @peanutsee 3 ปีที่แล้ว

    Is this database persistent?

  • @mdbelalhosen5898
    @mdbelalhosen5898 4 ปีที่แล้ว

    after updating profile picture its not showing... can you help about it pls ????

  • @elizavetaMid
    @elizavetaMid 4 ปีที่แล้ว

    First of all, many thanks for such a wonderful course! But I, unfortunately, had a problem at the very end: when connecting to AWS, the error was "FATAL: database" crm-database "does not exist" and I can’t do anything about it ... what could be the problem?

    • @ajay2552
      @ajay2552 3 ปีที่แล้ว

      Hey do you know the solution?

  • @taufiqulhaque4987
    @taufiqulhaque4987 4 ปีที่แล้ว

    waiting for next video brother

  • @cool__name
    @cool__name 4 ปีที่แล้ว

    Dennis Ivy What color scheme you use at sublime text?

    • @DennisIvy
      @DennisIvy  4 ปีที่แล้ว

      "Mariana" :)

  • @akshatsingh6036
    @akshatsingh6036 4 ปีที่แล้ว

    why django admin is not working on heroku

  • @joshuablue-jack
    @joshuablue-jack 3 ปีที่แล้ว

    I keep on getting server error (500) help please😥

  • @RiccardoDiBiagio88
    @RiccardoDiBiagio88 4 ปีที่แล้ว

    Thank you for this tutorial ! But after a few time it give me this error on opening images:
    Error parsing the X-Amz-Credential parameter; the region 'eu-west-2' is wrong; expecting 'eu-central-1'

    • @RiccardoDiBiagio88
      @RiccardoDiBiagio88 4 ปีที่แล้ว

      OK ,I solved adding this in settings.py :
      AWS_QUERYSTRING_AUTH = False

  • @peacestar4427
    @peacestar4427 3 ปีที่แล้ว

    How to change API endpoints while deploying to public when localhost is there in endpoints , eg : 120.x.x.x:8000/to-dos , how to change this when deploying ? Won't it affect the end point for get and post ? Pls help anyone ;

  • @mylifemywish3896
    @mylifemywish3896 4 ปีที่แล้ว

    Please try to add payment and sms gate way integration

  • @sontustripura3133
    @sontustripura3133 4 ปีที่แล้ว

    Iam highly requesting you to make a vedio, How to upload my django site in custom domain and hosting. Please make a vedio!

  • @CJ072
    @CJ072 3 ปีที่แล้ว

    The best one _/|\_👍👍👍

  • @inayatullah5576
    @inayatullah5576 4 ปีที่แล้ว

    nice sir..

  • @codedbychavez8190
    @codedbychavez8190 3 ปีที่แล้ว

    Watching in 2021