1👍
You should specify host and port in your settings.py
file. If you are running postgresql locally it will be:
'HOST': 'localhost',
'PORT': '5432',
Edit
Also note that mydb.db
is not a valid database name for postgres.
Source:stackexchange.com