Answer the question
In order to leave comments, you need to log in
OperationError what to do?
I use postgres, but I get the following error at the output. I
tried to do
./manage.py makemigrations,
./manage.py migrate
did not help
settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'django_db',
'USER' : 'rula_user',
'PASSWORD' : '*******',
'HOST' : 'localhost',
'PORT' : '5432',
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question