diff options
| author | Nicolas NoƩ <nicolas@niconoe.eu> | 2016-05-11 11:29:16 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-05-13 11:30:19 -0400 |
| commit | e158ec0ba0b43cbe9b509d4ed5587fa3b2ae3cc6 (patch) | |
| tree | 3f428824cc5ccef75070d0c48fde072b33003825 /django | |
| parent | 32dc8c0beb100aa1eae480aa24ead7200668c0f4 (diff) | |
Fixed #26333 -- Made GIS Geometry classes deconstructible.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/geos/geometry.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/django/contrib/gis/geos/geometry.py b/django/contrib/gis/geos/geometry.py index 99e680e492..c48e99cd5b 100644 --- a/django/contrib/gis/geos/geometry.py +++ b/django/contrib/gis/geos/geometry.py @@ -21,10 +21,12 @@ from django.contrib.gis.geos.prototypes.io import ( ewkb_w, wkb_r, wkb_w, wkt_r, wkt_w, ) from django.utils import six +from django.utils.deconstruct import deconstructible from django.utils.deprecation import RemovedInDjango20Warning from django.utils.encoding import force_bytes, force_text +@deconstructible class GEOSGeometry(GEOSBase, ListMixin): "A class that, generally, encapsulates a GEOS geometry." |
