PageRenderTime 22ms CodeModel.GetById 20ms RepoModel.GetById 0ms 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
Possible License(s): BSD-3-Clause
  1. # Want to get everything from the 'normal' models package.
  2. from django.db.models import *
  3. # Geographic aggregate functions
  4. from django.contrib.gis.db.models.aggregates import *
  5. # The GeoManager
  6. from django.contrib.gis.db.models.manager import GeoManager
  7. # The geographic-enabled fields.
  8. from django.contrib.gis.db.models.fields import \
  9. GeometryField, PointField, LineStringField, PolygonField, \
  10. MultiPointField, MultiLineStringField, MultiPolygonField, \
  11. GeometryCollectionField