2024-07-22

django.db.utils.OperationalError: could not translate host name "postgres.railway.internal" to address: nodename nor servname provided, or not known

my django project was working great, until a changed the setting.py file to deploy it in railway, using the variables railway provides.

since then i can't runserv or migrate, that i get this error...

here is the database settings a changed to use the railway variables

error when i runserver or migrate

django.db.utils.OperationalError: could not translate host name "postgres.railway.internal" to address: nodename nor servname provided, or not known

Show more