1
0
mirror of https://github.com/django/django.git synced 2025-10-24 14:16:09 +00:00

Bumped minimum isort version to 5.1.0.

Fixed inner imports per isort 5.
isort 5.0.0 to 5.1.0 was unstable.
This commit is contained in:
David Smith
2020-07-24 07:25:47 +01:00
committed by Mariusz Felisiak
parent 1173db4a16
commit e74b3d724e
49 changed files with 115 additions and 59 deletions

View File

@@ -4,7 +4,9 @@ from django.core.exceptions import ImproperlyConfigured
from django.db import ProgrammingError
try:
from django.contrib.gis.db.backends.postgis.operations import PostGISOperations
from django.contrib.gis.db.backends.postgis.operations import (
PostGISOperations,
)
HAS_POSTGRES = True
except ImportError:
HAS_POSTGRES = False