There is no South database module 'south.db.postgresql_psycopg2' for your database django

Shiva Krishna Bavandla picture Shiva Krishna Bavandla · Apr 15, 2015 · Viewed 11.2k times · Source

I have a django app with version as 1.6.5, i am trying to upgrade it to 1.8, but on the way i got the below error right after the django version was increased to 1.8

There is no South database module 'south.db.postgresql_psycopg2' for your database. Please either choose a supported database, check for SOUTH_DATABASE_ADAPTER[S] settings, or remove South from INSTALLED_APPS.

Code

INSTALLED_APPS = [
   'django_messages',
    'avatar',
    'tinymce',
    'south',
    'tracking',
    ......
  ]

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.postgresql_psycopg2',
        'HOST': '127.0.0.1',
        'NAME': 'xxxxxx',
        'USER': 'xxxxxx',
        'PASSWORD': 'xxxxxx',
        },
    }

So what was the problem and what need to be done to fix this ?

I have even tried with the below setting and receiving the same error when running the django local server

SOUTH_DATABASE_ADAPTERS = {
    'default': "south.db. postgresql_psycopg2"
}

Answer

Shiva Krishna Bavandla picture Shiva Krishna Bavandla · Apr 29, 2015

The solution i found to the above problem was just removing the south from virtual environment apart from all the changes mentioned above