P
P
PyChan2020-05-12 20:36:39
PostgreSQL
PyChan, 2020-05-12 20:36:39

How to fix could not resolve driver class error when connecting to PostgreSQL via DB navigator?

In settings.py: DATABASES = {'default': {'ENGINE': 'django.db.backends.postgresql_psycopg2', 'NAME': 'django', 'USER': 'postgres',
'PASSWORD': '** *', 'PORT': '5432', "HOST": 'localhost'}}. Screenshot with error:5ebade9b2ebfd535328530.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dr. Bacon, 2020-05-12
@bacon

Learning to read the current documentation https://docs.djangoproject.com/en/3.0/ref/settings...
PS Does this DB navigator of yours generally understand the django database connection settings format?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question