django.db.utils.OperationalError: could not connect to server: Connection refused
It seems, the communication with postgres is hardcoded in the app in a way that app assumes the db is on the same host (non-prod: 127.0.0.1 and prod: 127.0.0.1)
thus the error:
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?