1
0
mirror of https://github.com/django/django.git synced 2025-10-30 00:56:09 +00:00

[3.1.x] Bumped minimum isort version to 5.1.0.

Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.

Backport of e74b3d724e from master
This commit is contained in:
David Smith
2020-07-24 07:25:47 +01:00
committed by Mariusz Felisiak
parent 356efa90b5
commit 12ba61ed17
49 changed files with 115 additions and 59 deletions

View File

@@ -11,10 +11,10 @@ from django.test.utils import CaptureQueriesContext
from . import PostgreSQLTestCase
try:
from django.contrib.postgres.indexes import BrinIndex, BTreeIndex
from django.contrib.postgres.operations import (
AddIndexConcurrently, CreateExtension, RemoveIndexConcurrently,
)
from django.contrib.postgres.indexes import BrinIndex, BTreeIndex
except ImportError:
pass