Postgres Database + AWS RDS | Django (3.0) Crash Course Tutorials (pt 21)

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ส.ค. 2024

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

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

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

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

    For those who are getting this error: "... Connection timed out", these are what I did to solve the problem:
    from top right change zone N. California work with me
    then
    - Go to "Security group rules" (under "Connectivity & security")
    - Click the item "default" Security group
    - Click "Actions" > "Edit inbound rules" > "Add rule"
    - Select... Type: "All traffic", Source: "My IP", then click "Save rules"

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

      this solution absolutely worked with me, thank you so much

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

      so i have to recreate the data base?

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

      it still gives the same error, what do i do

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

      This works for me. Thanks

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

      Thanks man!

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

    So glad I found Dennis Ivy. Its easy to find good Django tutorial for beginners but its hard to find solid intermediate tutorials for Django. This really helps get to the next level and see how it all comes together. Thanks

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

      Thank you Adam :) A lot of my videos are still somewhat basic but I do plan on going into much deeper topics and advanced projects. Appreciate your comment :)

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

      when i press save at 4:57 i get this error:
      Unable to connect to server:
      FATAL: password authentication failed for user "postgres"
      what can i do?

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

      @@louzynerd129 I dont know if you have solved this already. I had the same issue but if I recall correclty you get a prompt in which you can reset your master password. That fixed it for me..

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

    For those who are getting this error: "... Connection timed out (0x0000274C/10060)", these are what I did to solve the problem:
    - Go to "Security group rules" (under "Connectivity & security")
    - Click the item "default" Security group
    - Click "Actions" > "Edit inbound rules" > "Add rule"
    - Select... Type: "All traffic", Source: "My IP", then click "Save rules"

  • @alter.nativotech3823
    @alter.nativotech3823 4 ปีที่แล้ว +8

    Why haven't I found this earlier!! Thanks Dennis, you're rocking it in the Django Community man. I've seen you in Traversy Media also. Awesome association.

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

    Dude, you've been a real blessing ! I'l be using RDS in production ! Thx

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

      The tables are not showing up even though i migrated and everything was Ok in the command prompt idk what's the issue here please help someone.

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

      @@louzynerd129 try to refresh the tables

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

      Did u work on it during production? If so can u please give me tips on the configurations, which settings I must be aware of when I'm configuring, I'm sure some mistakes may prove costly. I'll be trying it soon too

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

    dude thank you so much for this project and for continuing to add content - you earned this subscriber!

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

    Your tutorials are really very interesting, your videos are now my reference in django, thanx really man for this excellent work, hope one day see a tutorial to connect django to mangodb and work with it. thanx a lot.

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

      I'm honed to hear that Kamal! I'll definitely make a video on this in the near future since I still primary build in django but want to switch my database to Mongo DB. I'll share after I master it.

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

    This is exactly what i'm looking for

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

    For my lads with ubuntu or similar....you might have postgres already installed in your system....installing some other version over the existing one can create unnecessary trouble for beginners(like me).....check if you have it installed in your system already....if you want to upgrade delete the previous one or make necessary settings for proper functioning

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

    Thank you Dennis. You are a winner in Django/Python technology! All of your videos are very interesting!

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

    I'm so glad YT recommended this to me. Most tutorials are about the basic stuff, default settings with sqlite. You explain how to take this from ground up to real-time, production level stuff in a crystal clear way. In one video, you introduced the viewer to both postgres and AWS effortlessly. Thanks a lot Dennis! More power to you man!

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

    Thanks so much with your help I have connected my project with a aws database. Thanks a lot

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

    Thank you for making these tutorials. They are absolutely exceptional!

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

    wow that is awesome. Perfectly understood everything in this video. Thanks for that.

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

    Congrats Dennis! I didnt know about free tier option.

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

    Great job! thank you so much, I appreciate the amazing videos.

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

    Love and respect from Kerala, India.

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

    Hi Dennis,
    First thank you for your clear tutorials! I first tried to set this up using Azure SQL server but that was giving me a lot of problems.
    I added the postgres to the other ecommerce tutorial you've made. One remark with that one. When the cart is checked with the total in the form to set the order to complete the values do not match anymore. For instance 23.4 is regarded not equal to 23.40. So setting both values to the same data type (for instance float) did solve it for me.

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

    Amazing. Much needed. thank you

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

    I got the PostgreSQL database to work, but now it wont let me log in with my existing users. How do you get the existing users into the postgreSQL database?

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

      Hey @deaglannolan8468 were you able to resolve this issue?
      I have the same problem after I migrated to Postgresql

  • @celloucisse7548
    @celloucisse7548 2 ปีที่แล้ว +1

    Thanks for this video. It has been very helpfull.
    I have an issue: after creating my database in aws and setting my database configuration in my project, I still getting errors while running migration. #connection error

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

    Getting error in linking rds to my pgadmin.
    Unable to connect to server:
    could not connect to server: Connection timed out (0x0000274C/10060)
    Is the server running on host "xxxxxxxxxxxxxxxxxxxxxxxxxxx" (xx.xxx.xxx.xx) and accepting
    TCP/IP connections on port 5432?

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

      have you solved it?

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

      @@RiccardoDiBiagio88 Yes, added AWS location to settings.py

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

      @@RiccardoDiBiagio88 I did not :(

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

      ​@@danielampey9131 Could you be a little bit more specific please? What do you mean with AWS location, for example: us-east-2b? And we have to add it to which setting of the settings file? Thanks beforehand!

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

      @@jorjolandes Ok sure.
      So you will add: AWS_S3_HOST = 's3.us-east-2.amazonaws.com' and
      AWS_S3_REGION_NAME = 'us-east-2' in your settings.py.
      However,
      'us-east-2' is my location, you have to change to your location. I hope this solves your issue.

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

    Hi Dennis, PostgreSQL for Amazon RDS isn't free, at least not anymore. There is no option to select free tier when creating the database, and if you scroll at the bottom it will say how much a month it costs.

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

      There is a free tier option there

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

      I also encountered the same problem

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

      Hi, did you solve the problem?

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

      @@sebastiansilvavidal452 I did not check back on this guide. Does it still require payment?

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

    Premium grade stuff...kudos

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

    Отличное видео, очень помогло 👍

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

    nice job

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

    how can we then hide these postgres passwords that we included in settings

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

    thanks dennis. it helped!!

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

    Hi Dennis, I'm simply not able to connect the postgres to AWS. I followed all your instructions yet it says "Error Saving Properties. Unable to connect to server: timeout expired." Any ideas why I might be getting this error. Any help would be much appreciated! Thanks.

    • @user-wm4xl5pv2t
      @user-wm4xl5pv2t 4 ปีที่แล้ว +3

      I've got the same problem

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

      If its the error I think your getting then its probably because you forgot to allow "Public accessibility". I talk about this at 11:20. This means you haven't set permissions to access the database outside of AWS. Is this error happening when connecting from PG Admin.

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

      @@DennisIvy First of all, thank you for putting out this great content. Been following the series since the beginning, and almost done. But I am having the same issue. I followed along and even made sure to give permission to access the database outside of AWS. I deleted the database and tried again, but still same issue. I tried finding other solutions online, but also no luck. If you have any suggestions I would appreciate it much. Thanks, and looking forward to all the good content to come.

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

      @@DennisIvy same problem for me too
      UPDATE: I've solved my problem! I've uninstalled postgresql, then I've re-installed both postgresql and pgAdmin and now it works, don't ask me why.
      When the db in AWS is created, now I notice that my first security group type is 'CIDR/IP - Inbound', while before it was 'EC2 something'...

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

      Guys did you find the problem ? I did, I edit
      the inbound rules

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

    just googled, for python 3.8, we can do this: pip install psycopg2-binary

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

    Hi Dennis, i've been following your tutos but i wonder why for none of them, you didn't build on virtual environments. For instance getting the project to work with psycopg2 under a mac virtualenv is a nightmare

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

    I also subscribed to ur channel...
    I liked the way u r explaining...
    However, I think u r missing something that matters much for understanding to minimize the error during the project using ur follow-up guidelines step-by-step by those users who are completely new to Django...
    The way u r explaining is quite good for those who have already evolved into Django...
    I do hope u will figure this out and make ur video tutorial the best one...
    I watched all the parts, all parts are very good enough contents and enough explanations as well...
    One seriously following ur guidelines will definitely develop a Django app and deploy for the production grade.....

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

    Excellent course
    26/07/2020

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

    Localhost is not have in my dashboard ⁉️⁉️⁉️

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

    hi thanks for this, i just have question. if ever in the future i want to change the name like the name of tables and models or add new tables and database, all i have to do is to rewrite the code base and migrate it again right?

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

    Amazing tutorial! Any chance you add a video on how to track visits and store the visitor data?

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

      The tables are not showing up even though i migrated and everything was Ok in the command prompt idk what's the issue here please help someone.

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

    You are the best

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

    THANK YOU!

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

    Why is the rdsadmin database throwing an error(internal server error)

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

    I'm having trouble doing this in linux

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

    Hi Dennis,
    I know this session is for connecting PostgresSQL DB to the django project. I'm working on a use case where I want to connect to an existing graph database (neo4j), and I want to incorporate some visualizations into my application. Could you address how I can combine what I've built through your course, but also connect to a separate existing graph database in django?

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

    Hey guys, I can't seem to install and configure postgresql and Pgadmin4 them to work. I'm using Ubuntu operaring system. Any help is appreciate.
    So far i've been liking the tutorials; great stuff, no ghost code, everything explained in details.
    Thanks Dennis

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

    Hi Dennis and everyone, I'm having a problem with the endpoint that I'm using because once I added it to the HostName/Address this error pops up "Unable to connect to server:
    could not connect to server: Connection timed out (0x0000274C/10060)" I don't know if is this about the region since I'm in the Philippines?

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

      I have the same problem :( edit: There is a solution in the first comment of this video

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

    Amazing you are my mentor thanks sir i have some problem for me in series toturial that is
    TypeError
    at /
    'QuerySet' object is not callable when i am try to add filter my django project hes said like this

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

      Can you please send your source code to dennisivy11@gmail.com? I’ll take a look at this for you. A screenshot of the view and template may be enough for now.

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

      @@DennisIvy after chaging the database from sqlite to PostgreSQL ,im not able to login all me admin user ,customer all gone ,please help me

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

    I am having issue creating an AWS account and using RDS. Is this necessary. Are there free alternatives?

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

    Thanks for the Tutorial. How to fetch data from database?

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

    after modifying database object and running command "python manage.py migrate" giving error:
    django.db.utils.ProgrammingError: relation "auctions_category" does not exist

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

    Hi Dennis ,
    I am currently wondering how to estimate the fees for hosting a web app on a hosting services.
    I saw a lot of offers plans but I don't what the technicals terms are such as bandwidth...
    Do you know how to estimate the price od this kind of stuff for a lot of website in the same hosting service?
    For example , if the traffic increase how could we estimate the budget or the storage of images and video ?
    Thanks in advance your content is very clear and help us a lot.

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

    1:48 It seems that "pgAdmin 4" is already included with POSTGRESQL. But you still download pgAmin 4 seperately ?

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

    I got error while connecting amazon aws database to pgadmin4
    Unable to connect to server :
    timeout expired
    What should i have to do

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

      Have you solved the problem?
      I have the same, If you can help me, write the solving please)))

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

      No i didnot solve that yet

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

      I have the same problem any solution?

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

    "The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead." This is the error showing. the wrapper_function couldn't find the Groups I created, neither admin nor customer. I once uninstalled Postgresql cause it wasn't connecting to AWS. Now the AWS issue is solved and this is the new malfunction. @Dennis do reply sir. You never replied to any of my queries.

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

      You have to create a super user account and create manually the groups "admin" and "customer"

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

      @@nicolas00865 I already did. Still I faced that issue

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

      @@nicolas00865 Thanks. This worked for me.

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

      You should use singnls
      There are 2 videos in this series to solve it

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

    Hello, I got stuck on the user role permission of allowing only a customer or admin to view some specific parts. Is there a better way to write this?
    It is my first time into writing anything in django.
    It doesnt allow me to login as a customer, but only as admin and only in the admin section.
    This is piece of code is the problem "def admin_only(view_func):
    def wrapper_function(request, *args, **kwargs):
    group = None
    if request.user.groups.exists():
    group = request.user.groups.all()[0].name
    if group == 'customer':
    return redirect('user')
    if group == 'admin':
    return view_func(request, *args, **kwargs)
    return wrapper_function"
    And results into this error [ ValueError at /
    The view accounts.decorators.wrapper_function didn't return an HttpResponse object. It returned None instead.]
    Any help will be very great

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

    The tables are not showing up even though i migrated and everything was Ok in the command prompt idk what's the issue here please help someone.

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

    superb work but i don't have credit card now so AWS is useless for me now pretty unfortunate

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

      Debit card should do but I suppose you mean card in general. That's to bad, I don't know of any hosting platforms that don't require a payment method upfront.

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

      @@DennisIvy your right as soon as I get the card I will learn AWS. For now I have to wait and learn other things

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

    Hey Dennis, thanks for the video.
    Not using Python/Django, however trying to connect to RDS from Node, which is kinda similar using node-postgres.
    My question is why do you put 'postgres' in your database name if you have 'database-1' in your RDS and it works.
    Initially I used 'database-1' in my app, I got an error that my database doesn't exist. However after changing my database variable in my app to 'postgres' the connection magically worked.
    Can you explain what's happening or do you have any assumptions?
    Thank you!

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

    I'm new to these issues. I have a question. Changes made in Django for the database will now be kept on the Cloud, right? so if change something in Django, it will change on Cloud too(i am talking for database). am i wrong?

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

    Привет, я тут узнал, что у тебя русская фамилия, и, знаешь, это делает меня счастливым ;)

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

    can you make one video of database route...?
    Thks

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

    Saved my bacon again!

  • @FernandoLopez-kj1pu
    @FernandoLopez-kj1pu 3 ปีที่แล้ว

    I have a problem it does not allow me to connect to the amazon server, what can I do?

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

    The Latest PostgreSQL has default pgadmin

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

    thanks for the tutorials,
    is it okay to download psycopg2-binary? i can't install the psycopg2 in virtual environment.
    I read about differences between those psycopg2, one for production and the other one is for dev and test.

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

    Hi guys
    I'm having an issue
    I'm getting an error during installation, something about database cluster could not be created, I am using a Windows 10 OS
    Thanks for your help

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

    i have one doubt about ReactJs course.I m full stack django developer but i m much curious about React and how it works with django web and i want to do full course on React.if i will do some course on Reactjs and after doing it can i m able to jump to my django project directly to use react or i have to do some other course to use react in my django project?pls suggest it will be appreciable.

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

    is the process same if we buy a different instance of postgres sql? i have bought db.t3.micro . and when i try to create server in pdAdmin it gives me error this error saying : "unable to connect to server; timeout expired" .. can u please help me out with this one. or atlease guide me on what can resolve the issue! thanks in advance!

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

    Hi Dennis, awesome content, thanks so much! Here I leave a comment in case it can help some people. I finally have my database live thanks to you :)
    For anyone experiencing the "timeout expired" error, which I have experienced myself, I would recommend following the documentation:
    aws.amazon.com/getting-started/tutorials/create-connect-postgresql-db/?nc2=type_a
    The main difference with this video is that you don't use existing VPC security groups, you use a new one which you can name yourself. I am not very experienced so I can't explain much. I followed the docs and solved my problem.

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

      Thank you so much Mr. It's solved my problem too

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

      Thank you. Your suggestion solved my timeout issue as well. To reiterate... when creating the database, you have to select "Create New" for the "VPC security group" and then give it a name. That's the ONLY thing I did different from the video, and it works great.

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

      Can you do this once the database has been created completely?

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

    The Debit card in my country is only valid inside the country....I mean the debit card is not international...Any means that I'll have AWS account?

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

    I am unable to get Free tier option while creating rds.

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

    pls i need help with, am trying to use Postgres db.
    django.db.utils.OperationalError: fe_sendauth: no password supplied

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

      for newbies like me just uninstall whatever database you are using and install it again, and also check if you mispelled the 'PASSWORD' i cracked my head and found that i only have one 'S' :D

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

    ERROR: LINE 1: ..." ("products_id", "tag_id") VALUES (1, 1), (1, 2) ON CONFLIC...
    The author’s request to show how to cope with these errors, the second day I can’t continue to work normally because of migrations to Postgres!
    I tried everything that is described below!

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

    AWS needs a valid bank account... I haven't one... is there any way to access Database???

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

    Could someone explain me please why we are creating a new server group and is it necessary?

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

    how can i solve database 'demo_1' not exist error

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

    The free tier its not aviable :,(

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

    Couple of minutes to download 😂😂😂...took me a lifetime #kashmir #2g

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

    hey thanks pls make videos on django rest api

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

      Coming soon :) Need to launch this one live first ;)

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

      @@DennisIvy Waiting broooo

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

    I'm not sure why I had issues with connecting to the AWS DB from my PC, but I had to change the "Inbound" rules on AWS to allow "My IP" rather than allow any.. Maybe it's some mistake I've made along the way.

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

      hi, have you resolved it /
      facing the same issue

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

      @@MASBHANOMAN how..can u please explain in brief

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

    Note: AWS takes $1 from you by default, just a heads up

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

      I assume there is free service without credit cards also, any tip about that? I might be para noid about creditcard fraud, but a company that only accepts local laws is one I fear have an issue with the law.

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

    Can we use this in mysql ? is the process remain same?

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

    The free tier its not aviable any more for de 13teen version

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

    My one question, hope u do reply...
    U didn't create Virtual environment for the project, however automatically appeared at 05:52/17:08 in part-21 folder named ENV, how?

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

      I also subscribed to ur channel...
      I liked the way u r explaining...
      However, I think u r missing something that matters much for understanding to minimize the error during the project using ur follow-up guidelines step-by-step by those users who are completely new to Django...
      The way u r explaining is quite good for those who have already evolved into Django...
      I do hope u will figure this out and make ur video tutorial the best one...
      I watched all the parts, all parts are very good enough contents and enough explanations as well...
      One seriously following ur guidelines will definitely develop a Django app and deploy for the production grade.....

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

    After this I could enter the details in pgadmin and updated the same in settings.py. But when i ran "python manage.py" migrate it gave error as Operational error:FATAL: database does not exist. Pls advise

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

      Found solution :
      stackoverflow.com/questions/26369952/operational-error-fatal-database-django-does-not-exist/26370072
      Thanks

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

    Can you just serve sqlite on heroku if your site is not that database resource hungry?

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

      Kinda late but I've tried heroku with small app before and it works fine, don't about apps of this scale though.

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

    Hi Dennis! Very useful tutorial. By the way, I cannot log-in or register after migrating the database to postgres and AWS. Error shows
    django.contrib.auth.models.Group.DoesNotExist: Group matching query does not exist.

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

      Have you gotten a solution

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

    Unable to connect to server:
    FATAL: password authentication failed for user "postgres"
    FATAL: password authentication failed for user "postgres"
    I'm getting this error while creating SERVER.
    Please help to resolve this issue. I am using master password while creating SERVER but getting error.

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

      I have the same issue, but found this solution:
      stackoverflow.com/questions/7695962/postgresql-password-authentication-failed-for-user-postgres

  • @shashikumar-vi6ne
    @shashikumar-vi6ne 3 ปีที่แล้ว

    hello dennis ! after connecting my project with AWS i am m not able to login / admin login. . Plz suggest how to solve this problem.

    • @amankumar-qs5fy
      @amankumar-qs5fy 3 ปีที่แล้ว

      Have you got the fix?

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

      @@amankumar-qs5fy stuck with the same issue, did you find the cause? It seems that the database is connected properly for some reason, when I switch back to local database to works with no problems

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

    I'm 16 years old and can't manage to get a credit card in the aws. Any advice?

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

      In my country(India), you can use any debit card, doesn't need to be yours, and when it asks for tax details you just say don't have any. They will probably give an automated call or something to verify the account. If you stay within the free tier its all good.
      Check if you have something similar in your country.

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

    for linux devs
    After installing postgres on the machine,do this to follow along:
    $ psql -U postgres -h localhost
    then ---> $ CREATE DATABASE OWNER postgres;
    ----->$\l ---> to check if database i created
    if the above is successful change the connection details in settings.py file and run migrations
    for AWS RDS:
    after creating the database
    Open the database security group in AWS; and choose "Edit inbound rules"; "Add rule". There is a "My IP" option in the dropdown menu; select that option to auto-populate with your computer's public IP address in CIDR notation and click Save rules
    Now if that is finished ,you will be able to connect to the RDS successfully using this command,hope u remember ur initial database name,password,username and port.
    -->psql --host= --port=5432 --username= --password --dbname=
    If the above was successful ,change the connection details and do migrations.

  • @user-hq4vp5hc9u
    @user-hq4vp5hc9u 3 ปีที่แล้ว

    I'm getting such error: Is the server running on host "database-1..." and accepting
    TCP/IP connections on port 5432? Anyone resolve this?

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

      this shows because ip address set in rds changes all the time, so if you refresh ip address in security group rules (set again my ip) it will work. But problem is that with next computer start ip changes again. Solution is elastic iP but I don't know how to set it for rds.

    • @user-hq4vp5hc9u
      @user-hq4vp5hc9u 3 ปีที่แล้ว

      @@GlosicielPrawdy thanks🙌🏻

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

    I don't have Visa Card

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

    Sir i dont have credit card account what shall i do??

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

      Use a debit card

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

    Why we connect AWS RDS with postgres is really necessary? Anyone Pliz reply i want to know y

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

      The tables are not showing up even though i migrated and everything was Ok in the command prompt idk what's the issue here please help someone.

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

      You can connect to other databases if you like. But the standard SQLite is not fit for running on a production environment because it is a very lightweight database and the possibilities that locks or other errors occur are not something you want to have in a production-like environment.

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

    Hey bro, this is free? i mean aws rds

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

    I'm using MacOS and ran the following command in terminal:
    "pip install psycopg2"
    and I got this error:
    Error: pg_config executable not found
    Not sure how to fix this any help would be appreciated. Thank you in advance :)
    Full error message
    "
    pg_config is required to build psycopg2 from source. Please add the directory
    containing pg_config to the $PATH or specify the full executable path with the
    option:
    python setup.py build_ext --pg-config /path/to/pg_config build ...
    or with the pg_config option in 'setup.cfg'.
    If you prefer to avoid building psycopg2 from source, please install the PyPI
    'psycopg2-binary' package instead.
    For further information please check the 'doc/src/install.rst' file (also at
    ).
    ----------------------------------------
    ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    "

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

      I upgraded my pip using the following command in terminal:
      "pip install --upgrade pip"
      I also installed homebrew (its a packagemanager like pip) using the follwoing commandline:
      "/bin/bash -c "$(curl -fsSL raw.githubusercontent.com/Homebrew/install/master/install.sh)"
      Then I entered this into terminal and things started to work:
      "brew install postgresql"
      I hope this helps I was stuck on this for ages

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

    For anyone receiving
    ERROR: Command errored out with exit status 1:
    I was unable to install psycog2 directly. However, I was successful in downloading the psycog2 binary file.
    You can follow this link to help solve your problem or reply to this comment and I'll do what I can to help.
    www.dark-hamster.com/programming/how-to-solve-error-on-installing-psycopg2-using-pip-by-using-psycopg2-binary-instead/

  • @sarathkumar-gq8be
    @sarathkumar-gq8be 3 ปีที่แล้ว

    Aws is free of cost or paid ,

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

      There is a free tier but it is a paid product

    • @sarathkumar-gq8be
      @sarathkumar-gq8be 3 ปีที่แล้ว

      @@DennisIvy hmm ok bro

    • @sarathkumar-gq8be
      @sarathkumar-gq8be 3 ปีที่แล้ว

      @@DennisIvy I have doubt in uploading images but I try different method ,but it won't work ,can you help me

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

      and don't connect it with cloud

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

    Psyco PG2 ? 😲
    Should be PG 18+ 😝

  • @nhanNguyen-wo8fy
    @nhanNguyen-wo8fy 2 ปีที่แล้ว

    2:25

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

    pgadmin asking me for service field, but IDK what the fuck put there