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

Refs #25665 -- Deprecated getter/setter of GEOSGeometry.srid.

This commit is contained in:
Sergey Fedoseev
2015-11-04 23:56:14 +05:00
committed by Tim Graham
parent 5f7f3b4685
commit b7177cc2a4
4 changed files with 44 additions and 9 deletions

View File

@@ -328,6 +328,13 @@ added in Django 1.9::
This prevents confusion about an assignment resulting in an implicit save.
:mod:`django.contrib.gis`
~~~~~~~~~~~~~~~~~~~~~~~~~
* The ``get_srid()`` and ``set_srid()`` methods of
:class:`~django.contrib.gis.geos.GEOSGeometry` are deprecated in favor
of the :attr:`~django.contrib.gis.geos.GEOSGeometry.srid` property.
Miscellaneous
~~~~~~~~~~~~~