1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Refs #25665 -- Deprecated getters/setters of Point coordinate properties.

This commit is contained in:
Sergey Fedoseev
2015-11-05 08:45:42 +05:00
committed by Tim Graham
parent b7177cc2a4
commit 7803f429a4
4 changed files with 79 additions and 20 deletions

View File

@@ -335,6 +335,10 @@ This prevents confusion about an assignment resulting in an implicit save.
:class:`~django.contrib.gis.geos.GEOSGeometry` are deprecated in favor
of the :attr:`~django.contrib.gis.geos.GEOSGeometry.srid` property.
* The ``get_x()``, ``set_x()``, ``get_y()``, ``set_y()``, ``get_z()``, and
``set_z()`` methods of :class:`~django.contrib.gis.geos.Point` are deprecated
in favor of the ``x``, ``y``, and ``z`` properties.
Miscellaneous
~~~~~~~~~~~~~