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:
DavidRabel-b1 2016-10-19 17:07:49 +02:00 committed by GitHub
parent f40170a796
commit 673523ee9a
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ In this section, you set up the database connection for Django.
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
'ENGINE': 'django.db.backends.postgresql',
'NAME': 'postgres',
'USER': 'postgres',
'HOST': 'db',