mirror of https://github.com/docker/docs.git
Update django.md
As of Django 1.10 the database backend django.db.backends.postgresql_psycopg2 is called django.db.backends.postgresql . See https://docs.djangoproject.com/en/1.10/ref/settings/#engine
This commit is contained in:
parent
f40170a796
commit
673523ee9a
|
@ -146,7 +146,7 @@ In this section, you set up the database connection for Django.
|
||||||
|
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
'default': {
|
'default': {
|
||||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
'ENGINE': 'django.db.backends.postgresql',
|
||||||
'NAME': 'postgres',
|
'NAME': 'postgres',
|
||||||
'USER': 'postgres',
|
'USER': 'postgres',
|
||||||
'HOST': 'db',
|
'HOST': 'db',
|
||||||
|
|
Loading…
Reference in New Issue