summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSergey Fedoseev <fedoseev.sergey@gmail.com>2019-10-17 13:17:42 +0500
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-10-25 14:28:26 +0200
commit6bbf9a20e2c5865e01b537e8cd34dfca06621a4a (patch)
treea3e3ba68a165301704829ea18cb5a3156bba5670 /docs
parent24e540fbd71bd2b0843e751bde61ad0052a811b3 (diff)
Fixed #29770 -- Added LinearRing.is_counterclockwise property.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geos.txt6
-rw-r--r--docs/releases/3.1.txt2
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geos.txt b/docs/ref/contrib/gis/geos.txt
index fda1b5cc3d..536c42f74e 100644
--- a/docs/ref/contrib/gis/geos.txt
+++ b/docs/ref/contrib/gis/geos.txt
@@ -730,6 +730,12 @@ Other Properties & Methods
Notice that ``(0, 0)`` is the first and last coordinate -- if they were not
equal, an error would be raised.
+ .. attribute:: is_counterclockwise
+
+ .. versionadded:: 3.1
+
+ Returns whether this ``LinearRing`` is counterclockwise.
+
``Polygon``
-----------
diff --git a/docs/releases/3.1.txt b/docs/releases/3.1.txt
index 70297b5311..0a08ce3cdf 100644
--- a/docs/releases/3.1.txt
+++ b/docs/releases/3.1.txt
@@ -61,6 +61,8 @@ Minor features
* :lookup:`relate` lookup is now supported on MariaDB.
+* Added the :attr:`.LinearRing.is_counterclockwise` property.
+
:mod:`django.contrib.messages`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~