web/lib/django/contrib/gis/db/models/__init__.py
author ymh <ymh.work@gmail.com>
Tue, 25 May 2010 02:43:45 +0200
changeset 29 cc9b7e14412b
parent 0 0d40e90630ef
permissions -rw-r--r--
update django and lucene

# 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