I have installed postgreSQL and psycopg2, then I created a db and user, I have granted all the permission for the user to the db and I have made all the changes in settings.py
. But while I try to migrate, I am getting the error django.db.utils.ProgrammingError: permission denied for relation django_migrations
settings.py
:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'easyapp',
'USER': 'krishna',
'PASSWORD': 'sudeep',
'HOST': 'localhost',
'PORT': '',
}
}
Can anybody help me??
try to migrate as follows
python manage.py migrate auth
python manage.py migrate
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments