Learn Django - How to Install and use a PostgreSQL database within a Django project - Part 12

Поділитися
Вставка
  • Опубліковано 6 лис 2024

КОМЕНТАРІ • 27

  • @khaki714
    @khaki714 2 роки тому +2

    finally someone who knows how to explain things clearly!

  • @damoimyers2651
    @damoimyers2651 3 роки тому +4

    I always wanted to setup my Django project with PostgreSQL database... Thanks for the help and perfect explanation.

  • @mateolizatovich5441
    @mateolizatovich5441 2 роки тому +2

    Thank you so much! It as was pretty much what I was looking for. Your explanation was very clear and easy to follow. Have you done another tutorial explaning how to migrate my existing db to the posgres db? I would love to see it!
    Again, thank you!

  • @chrispark5156
    @chrispark5156 3 роки тому +2

    Hey thanks for this video! I'm finishing up Corey Schafer's tutorial and I think I will do yours next.
    quick question! In my C:\Users\ I have a 'postgres' account..
    C:\Users\postgres
    Is this required to user postgresql? If not, how would I delete this?
    Also, I had a previous installation of postgresql 9.5 on my machine that I uninstalled.
    But at the end on the uninstall I received a message stating 'the data directory and service user account postgres have not been removed'
    C:\Program Files\PostgreSQL on my new install shows the old version still there as well as the new version.
    How can I totally delete the old version?
    Thank you!!

    • @veryacademy
      @veryacademy  3 роки тому +1

      Thanks Chris, I wouldn’t recommend any of these old tutorials. Tutorials are very sporadic still, trying to cater for a wider python audience. I most definitely will get a more comprehensive Django package out in the future

    • @chrispark5156
      @chrispark5156 3 роки тому

      @@veryacademy thanks for the reply.
      so apparently postgresql creates a user account 'postgres' in C:\Users\postgres. I still need to research a bit more to understand exactly why but I believe it's got something to do with serving the files..
      and I also just manually deleted the old version file
      your django ecommerce tutorial looks like good practice

  • @musakrc3281
    @musakrc3281 2 роки тому

    Thank you!

  • @mouctechy
    @mouctechy 2 роки тому

    thank you so much

  • @davlatbekturdaliyev8491
    @davlatbekturdaliyev8491 2 роки тому

    Was helpful to me. Thanks

  • @paborlouise319
    @paborlouise319 4 роки тому

    Wasn't hard to setup, but will you do a separate tuts on deployment with postgres ?

    • @veryacademy
      @veryacademy  4 роки тому +2

      You got it, coming right up very soon. Heroku and AWS

    • @paborlouise319
      @paborlouise319 4 роки тому

      @@veryacademy Great

    • @veryacademy
      @veryacademy  4 роки тому +1

      @@paborlouise319 I have broken down the process for AWS and Heroku - Next tut is working with MEDIA and STATIC file and serving from AWS S3 - that will help you understand the process. Then there will be another tut for applying that to the blog and hosting with Heroku. I think breaking it up just gives people a chance to digest working with files first - Heroku can be difficult enough!

    • @paborlouise319
      @paborlouise319 4 роки тому

      @@veryacademy yeah that's true, nice strategy, separating it would be better.

  • @ImmediatelyLeaveYT
    @ImmediatelyLeaveYT 2 роки тому +1

    Thank you

  • @ayansultan9764
    @ayansultan9764 2 роки тому +1

    Is there any difference between *'ENGINE': 'django.db.backends.postgresql_psycopg2'* and *'ENGINE': 'django.db.backends.postgresql* ?

    • @veryacademy
      @veryacademy  2 роки тому

      I think it was renamed a while back.

  • @syracuse4612
    @syracuse4612 2 роки тому +1

    thank you ! ! !

  • @samandarshoyimov5580
    @samandarshoyimov5580 2 роки тому

    But i can not migrate my models to databse

  • @paborlouise319
    @paborlouise319 4 роки тому +1

    Nice 👍

    • @veryacademy
      @veryacademy  4 роки тому

      Just for you of course! Next up we will do the advance search features and get that to the next level in the blog app - then will move back to comments and AJAX and get that to the next level. Sorry this tutorial does not include migrating data to the PostgreSQL database - that is a tricky subject we can leave for another day. I will revisit PostgreSQL, just spend some time getting it started and familiarise yourself with looking at the data and tables.

    • @paborlouise319
      @paborlouise319 4 роки тому

      @@veryacademy Alright 👍

    • @veryacademy
      @veryacademy  4 роки тому

      Let me know if you get Postgres install and running ok

    • @paborlouise319
      @paborlouise319 4 роки тому

      @@veryacademy ok sir