[Answered ]-Django.db.utils.OperationalError: could not translate host name "db" to address: Temporary failure in name resolution. Django for professionals book

1👍

as suggested by seoul kim above i added ports: -5432:5432 and it worked for me.

0👍

hello i think that your problem is in the setting.py and in dtabases change the db to local host or 127.0.0.1

Leave a comment