1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Simplified imports from django.db and django.contrib.gis.db.

This commit is contained in:
Nick Pope
2019-08-20 08:54:41 +01:00
committed by Mariusz Felisiak
parent 469bf2db15
commit 335c9c94ac
113 changed files with 382 additions and 450 deletions

View File

@@ -6,7 +6,7 @@ import sqlparse
from django.db.backends.base.introspection import (
BaseDatabaseIntrospection, FieldInfo as BaseFieldInfo, TableInfo,
)
from django.db.models.indexes import Index
from django.db.models import Index
from django.utils.regex_helper import _lazy_re_compile
FieldInfo = namedtuple('FieldInfo', BaseFieldInfo._fields + ('pk',))