Fixed #25175 -- Renamed the postgresql_psycopg2 database backend to postgresql.

This commit is contained in:
Caio Ariede 2015-08-05 11:08:56 -03:00 committed by Tim Graham
parent 8656cfc4e0
commit ec9004728e
25 changed files with 42 additions and 25 deletions

View file

@ -9,7 +9,7 @@ class TestLoadBackend(SimpleTestCase):
msg = (
"'foo' isn't an available database backend.\n"
"Try using 'django.db.backends.XXX', where XXX is one of:\n"
" 'mysql', 'oracle', 'postgresql_psycopg2', 'sqlite3'\n"
" 'mysql', 'oracle', 'postgresql', 'sqlite3'\n"
"Error was: No module named %s"
) % "foo.base" if six.PY2 else "'foo'"
with self.assertRaisesMessage(ImproperlyConfigured, msg):