mirror of
https://github.com/django/django.git
synced 2025-10-30 09:06:13 +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:
committed by
Mariusz Felisiak
parent
356efa90b5
commit
12ba61ed17
@@ -1,7 +1,9 @@
|
||||
try:
|
||||
from django.contrib.postgres.fields import JSONField
|
||||
from django.contrib.postgres.fields.jsonb import KeyTransform, KeyTextTransform
|
||||
from django.contrib.postgres import forms
|
||||
from django.contrib.postgres.fields import JSONField
|
||||
from django.contrib.postgres.fields.jsonb import (
|
||||
KeyTextTransform, KeyTransform,
|
||||
)
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user