2008-08-06 02:13:06 +08:00
|
|
|
# Want to get everything from the 'normal' models package.
|
|
|
|
from django.db.models import *
|
|
|
|
|
2009-01-16 03:35:04 +08:00
|
|
|
# Geographic aggregate functions
|
|
|
|
from django.contrib.gis.db.models.aggregates import *
|
|
|
|
|
2008-08-06 02:13:06 +08:00
|
|
|
# The GeoManager
|
|
|
|
from django.contrib.gis.db.models.manager import GeoManager
|
|
|
|
|
|
|
|
# The geographic-enabled fields.
|
|
|
|
from django.contrib.gis.db.models.fields import \
|
|
|
|
GeometryField, PointField, LineStringField, PolygonField, \
|
|
|
|
MultiPointField, MultiLineStringField, MultiPolygonField, \
|
|
|
|
GeometryCollectionField
|