~ubuntu-branches/ubuntu/quantal/python-django/quantal

« back to all changes in this revision

Viewing changes to django/contrib/gis/db/models/__init__.py

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant, Eddy Mulyono
  • Date: 2008-09-16 12:18:47 UTC
  • mfrom: (1.1.5 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080916121847-mg225rg5mnsdqzr0
Tags: 1.0-1ubuntu1
* Merge from Debian (LP: #264191), remaining changes:
  - Run test suite on build.

[Eddy Mulyono]
* Update patch to workaround network test case failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Want to get everything from the 'normal' models package.
 
2
from django.db.models import *
 
3
 
 
4
# The GeoManager
 
5
from django.contrib.gis.db.models.manager import GeoManager
 
6
 
 
7
# The GeoQ object
 
8
from django.contrib.gis.db.models.query import GeoQ
 
9
 
 
10
# The geographic-enabled fields.
 
11
from django.contrib.gis.db.models.fields import \
 
12
     GeometryField, PointField, LineStringField, PolygonField, \
 
13
     MultiPointField, MultiLineStringField, MultiPolygonField, \
 
14
     GeometryCollectionField
 
15
 
 
16
# The geographic mixin class.
 
17
from mixin import GeoMixin