diff options
| author | Sergey Fedoseev <fedoseev.sergey@gmail.com> | 2015-11-04 23:56:14 +0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-18 11:49:48 -0500 |
| commit | b7177cc2a422a0183c8f2d56eceb6b9323c6f959 (patch) | |
| tree | c7ad8820b2429336b798a3aeb229960fb5943084 /docs | |
| parent | 5f7f3b46853c958789361a7defda8ca3c3c2be53 (diff) | |
Refs #25665 -- Deprecated getter/setter of GEOSGeometry.srid.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/internals/deprecation.txt | 3 | ||||
| -rw-r--r-- | docs/releases/1.10.txt | 7 |
2 files changed, 10 insertions, 0 deletions
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 ~~~~~~~~~~~~~ |
