migrations: Replace deprecated django.db.backends.postgresql_psycopg2.

This has been a deprecated alias for django.db.backends.postgresql
since Django 1.9, removed in Django 3.0.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-06-02 19:09:50 -07:00
committed by Tim Abbott
parent 67dbb3b2a9
commit e91050b674

View File

@@ -1,5 +1,5 @@
from django.db import migrations
from django.db.backends.postgresql_psycopg2.schema import DatabaseSchemaEditor
from django.db.backends.postgresql.schema import DatabaseSchemaEditor
from django.db.migrations.state import StateApps
import ujson
from typing import Dict, List