1.1 --- a/django/contrib/gis/geos/geometry.py Thu Jan 29 15:54:05 2009 -0600
1.2 +++ b/django/contrib/gis/geos/geometry.py Sat Jan 31 15:18:50 2009 -0600
1.3 @@ -7,7 +7,7 @@
1.4 from ctypes import addressof, byref, c_double, c_size_t
1.5
1.6 # GEOS-related dependencies.
1.7 -from django.contrib.gis.geos.base import GEOSBase, gdal
1.8 +from django.contrib.gis.geos.base import GEOSBase, ListMixin, gdal
1.9 from django.contrib.gis.geos.coordseq import GEOSCoordSeq
1.10 from django.contrib.gis.geos.error import GEOSException
1.11 from django.contrib.gis.geos.libgeos import GEOM_PTR, GEOS_PREPARE
1.12 @@ -24,7 +24,7 @@
1.13 hex_regex = re.compile(r'^[0-9A-F]+$', re.I)
1.14 wkt_regex = re.compile(r'^(SRID=(?P<srid>\d+);)?(?P<wkt>(POINT|LINESTRING|LINEARRING|POLYGON|MULTIPOINT|MULTILINESTRING|MULTIPOLYGON|GEOMETRYCOLLECTION)[ACEGIMLONPSRUTY\d,\.\-\(\) ]+)$', re.I)
1.15
1.16 -class GEOSGeometry(GEOSBase):
1.17 +class GEOSGeometry(GEOSBase, ListMixin):
1.18 "A class that, generally, encapsulates a GEOS geometry."
1.19
1.20 ptr_type = GEOM_PTR