/django/contrib/gis/db/models/__init__.py
Python | 14 lines | 7 code | 3 blank | 4 comment | 0 complexity | 7b5c41e0fc052d98cbc512c16a70d0fc MD5 | raw file
Possible License(s): BSD-3-Clause
- # 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