Pls I have downloaded postgresql for Windows and I want to connect my models in Django model file to postgresql database but it keep throwing that error Name : "django 1", User: "postgresql", Password: "bless90", Host: "local host"
Asked
Active
Viewed 37 times
0
-
maybe it's just a typo but "localhost" is a single word. Can you show your settings ? – Massimo Costa Dec 04 '20 at 13:09
-
Thanks I have resolve it......I was using postgresql as the USER instead of just postgres – Nnamani William Dec 10 '20 at 12:54
1 Answers
0
The result of those type of error is when u used a wrong word while passing the database config like the Name,User,Host,and password but for my case I used postgresql instead of postgres

Nnamani William
- 31
- 3