Can't figure out why is PyCharm
keeping raises this error:
I have set everything including Django server configuration and everything works - DB connection, remote host connection, django server etc.
Don't know if it's database problem. Connection works properly. The DB is remote on DigitalOcean droplet.
in settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'our_db',
'USER': 'django',
'HOST': '<ip>',
'PASSWORD': '<pwd>',
'PORT': 5432,
'ATOMIC_REQUESTS': True,
}
}
I have connection to remote Ubuntu 16.04 where I use ssh key to authenticate.
Do you know where is the problem?