From b7177cc2a422a0183c8f2d56eceb6b9323c6f959 Mon Sep 17 00:00:00 2001 From: Sergey Fedoseev Date: Wed, 4 Nov 2015 23:56:14 +0500 Subject: Refs #25665 -- Deprecated getter/setter of GEOSGeometry.srid. --- docs/internals/deprecation.txt | 3 +++ docs/releases/1.10.txt | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'docs') diff --git a/docs/internals/deprecation.txt b/docs/internals/deprecation.txt index 6b5eb95ad0..db2bf02af2 100644 --- a/docs/internals/deprecation.txt +++ b/docs/internals/deprecation.txt @@ -112,6 +112,9 @@ details on these changes. * Support for direct assignment to a reverse foreign key or many-to-many relation will be removed. +* The ``get_srid()`` and ``set_srid()`` methods of + ``django.contrib.gis.geos.GEOSGeometry`` will be removed. + .. _deprecation-removed-in-1.10: 1.10 diff --git a/docs/releases/1.10.txt b/docs/releases/1.10.txt index 1e51c1dec9..d4a0e63094 100644 --- a/docs/releases/1.10.txt +++ b/docs/releases/1.10.txt @@ -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 ~~~~~~~~~~~~~ -- cgit v1.3