parent
e06189f7ce
commit
5301a9d7b1
|
@ -1,16 +1,15 @@
|
|||
from django.db import connections
|
||||
from django.db.models.query import QuerySet, ValuesQuerySet, ValuesListQuerySet
|
||||
from django.utils import six
|
||||
|
||||
from django.contrib.gis.db.models import aggregates
|
||||
from django.contrib.gis.db.models.fields import get_srid_info, PointField, LineStringField
|
||||
from django.contrib.gis.db.models.sql import AreaField, DistanceField, GeomField, GeoQuery
|
||||
from django.contrib.gis.geometry.backend import Geometry
|
||||
from django.contrib.gis.measure import Area, Distance
|
||||
from django.utils import six
|
||||
|
||||
from django.utils import six
|
||||
|
||||
|
||||
class GeoQuerySet(QuerySet):
|
||||
"The Geographic QuerySet."
|
||||
|
||||
|
|
|
@ -10,8 +10,6 @@ import decimal
|
|||
import sys
|
||||
import warnings
|
||||
|
||||
from django.utils import six
|
||||
|
||||
def _setup_environment(environ):
|
||||
import platform
|
||||
# Cygwin requires some special voodoo to set the environment variables
|
||||
|
|
|
@ -18,7 +18,6 @@ from django.utils.datastructures import SortedDict
|
|||
from django.utils import six
|
||||
from django.utils.text import get_text_list, capfirst
|
||||
from django.utils.translation import ugettext_lazy as _, ugettext
|
||||
from django.utils import six
|
||||
|
||||
|
||||
__all__ = (
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
from __future__ import unicode_literals
|
||||
|
||||
import re
|
||||
from django.utils import six
|
||||
import unicodedata
|
||||
import warnings
|
||||
from gzip import GzipFile
|
||||
from django.utils.six.moves import html_entities
|
||||
from io import BytesIO
|
||||
|
||||
from django.utils.encoding import force_text
|
||||
|
@ -15,6 +13,7 @@ if not six.PY3:
|
|||
from django.utils.encoding import force_unicode
|
||||
from django.utils.functional import allow_lazy, SimpleLazyObject
|
||||
from django.utils import six
|
||||
from django.utils.six.moves import html_entities
|
||||
from django.utils.translation import ugettext_lazy, ugettext as _, pgettext
|
||||
from django.utils.safestring import mark_safe
|
||||
|
||||
|
|
Loading…
Reference in New Issue