mirror of
https://github.com/django/django.git
synced 2025-08-27 05:54:28 +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:
parent
1173db4a16
commit
e74b3d724e
49 changed files with 115 additions and 59 deletions
|
@ -25,14 +25,17 @@ from .models import (
|
|||
)
|
||||
|
||||
try:
|
||||
from psycopg2.extras import NumericRange
|
||||
|
||||
from django.contrib.postgres.aggregates import ArrayAgg
|
||||
from django.contrib.postgres.fields import ArrayField
|
||||
from django.contrib.postgres.fields.array import IndexTransform, SliceTransform
|
||||
from django.contrib.postgres.fields.array import (
|
||||
IndexTransform, SliceTransform,
|
||||
)
|
||||
from django.contrib.postgres.forms import (
|
||||
SimpleArrayField, SplitArrayField, SplitArrayWidget,
|
||||
)
|
||||
from django.db.backends.postgresql.base import PSYCOPG2_VERSION
|
||||
from psycopg2.extras import NumericRange
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue