summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2015-11-03 00:35:50 +0500
committerClaude Paroz <claude@2xlibre.net>2015-11-02 22:42:10 +0100
commit306efc8e454cec9e522fda6528313c689fdf4dfd (patch)
tree3dd8cccbd9e0a889c179418d359c0a5149725e7d /django
parent51e71a6e59f7bf58abac6489f560eb437cdb4949 (diff)
[1.9.x] Fixed #25661 -- Fixed checking number of points during list assignment for `LinearRing`.
Backport of 1b598b4b4 from master.
Diffstat (limited to 'django')
-rw-r--r--django/contrib/gis/geos/linestring.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/geos/linestring.py b/django/contrib/gis/geos/linestring.py
index f1c26af72e..df2a8145c7 100644
--- a/django/contrib/gis/geos/linestring.py
+++ b/django/contrib/gis/geos/linestring.py
@@ -167,5 +167,5 @@ class LineString(ProjectInterpolateMixin, GEOSGeometry):
# LinearRings are LineStrings used within Polygons.
class LinearRing(LineString):
- _minLength = 4
+ _minlength = 4
_init_func = capi.create_linearring