15 lines
493 B
Python
15 lines
493 B
Python
# Want to get everything from the 'normal' models package.
|
|
from django.db.models import *
|
|
|
|
# Geographic aggregate functions
|
|
from django.contrib.gis.db.models.aggregates import *
|
|
|
|
# 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)
|