2015-06-16 02:07:31 +08:00
|
|
|
from django.db.models import * # NOQA isort:skip
|
2016-10-10 22:13:01 +08:00
|
|
|
from django.db.models import __all__ as models_all # isort:skip
|
2013-10-18 19:25:30 +08:00
|
|
|
from django.contrib.gis.db.models.aggregates import * # NOQA
|
2016-10-10 22:13:01 +08:00
|
|
|
from django.contrib.gis.db.models.aggregates import __all__ as aggregates_all
|
|
|
|
from django.contrib.gis.db.models.fields import (
|
2015-06-16 02:07:31 +08:00
|
|
|
GeometryCollectionField, GeometryField, LineStringField,
|
|
|
|
MultiLineStringField, MultiPointField, MultiPolygonField, PointField,
|
|
|
|
PolygonField, RasterField,
|
|
|
|
)
|
2016-10-10 22:13:01 +08:00
|
|
|
from django.contrib.gis.db.models.manager import GeoManager
|
|
|
|
|
|
|
|
__all__ = models_all + aggregates_all
|
|
|
|
__all__ += [
|
|
|
|
'GeometryCollectionField', 'GeometryField', 'LineStringField',
|
|
|
|
'MultiLineStringField', 'MultiPointField', 'MultiPolygonField', 'PointField',
|
|
|
|
'PolygonField', 'RasterField', 'GeoManager',
|
|
|
|
]
|