You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If for example the database is part of a staging site then it will likely be on another machine. Using settings.DATABASES['HOST'] (as well as e.g: showing the port number, to account for tunnels etc.) is probably better than socket.gethostname().
The text was updated successfully, but these errors were encountered:
If for example the database is part of a staging site then it will likely be on another machine. Using
settings.DATABASES['HOST']
(as well as e.g: showing the port number, to account for tunnels etc.) is probably better thansocket.gethostname()
.The text was updated successfully, but these errors were encountered: