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
|
2017-03-29 20:56:58 +08:00
|
|
|
import django.contrib.gis.db.models.functions # NOQA
|
2017-03-28 10:20:18 +08:00
|
|
|
import django.contrib.gis.db.models.lookups # NOQA
|
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
|
|
|
|
|
|
|
__all__ = models_all + aggregates_all
|
|
|
|
__all__ += [
|
|
|
|
"GeometryCollectionField",
|
|
|
|
"GeometryField",
|
|
|
|
"LineStringField",
|
|
|
|
"MultiLineStringField",
|
|
|
|
"MultiPointField",
|
|
|
|
"MultiPolygonField",
|
|
|
|
"PointField",
|
2016-11-07 20:00:40 +08:00
|
|
|
"PolygonField",
|
|
|
|
"RasterField",
|
2016-10-10 22:13:01 +08:00
|
|
|
]
|