PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/django/contrib/gis/db/models/__init__.py

https://code.google.com/p/mango-py/
Python | 14 lines | 7 code | 3 blank | 4 comment | 0 complexity | 7b5c41e0fc052d98cbc512c16a70d0fc MD5 | raw file
 1# Want to get everything from the 'normal' models package.
 2from django.db.models import *
 3
 4# Geographic aggregate functions
 5from django.contrib.gis.db.models.aggregates import *
 6
 7# The GeoManager
 8from django.contrib.gis.db.models.manager import GeoManager
 9
10# The geographic-enabled fields.
11from django.contrib.gis.db.models.fields import \
12     GeometryField, PointField, LineStringField, PolygonField, \
13     MultiPointField, MultiLineStringField, MultiPolygonField, \
14     GeometryCollectionField