django.db.utils.OperationalError: FATAL: password authentication failed for user "user" password retrieved from file "/Users/user/.pgpass"
pg_hba.conf
# Database administrative login by UNIX sockets local all postgres trust # TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local all all trust # IPv4 local connections: host all all 127.0.0.1/32 trust # IPv6 local connections: host all all ::1/128 trust # This is for general access databases: local all all trust host all all 127.0.0.1/32 trust
settings.py
DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql_psycopg2", "NAME": "recipesdb", "USER": "", "PASSWORD": "", "HOST": "localhost", "PORT": "5432", } }
что я делаю не так?