1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

Fixed #18039 -- Changed geometry transform without a SRID raise a GEOSException.

This was planned in the official deprecation timeline for 1.5.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Claude Paroz
2012-04-12 16:35:28 +00:00
parent cbc411571a
commit 844e56e21a
3 changed files with 12 additions and 62 deletions

View File

@@ -542,9 +542,8 @@ is returned instead.
Prior to 1.3, this method would silently no-op if GDAL was not available.
Now, a :class:`~django.contrib.gis.geos.GEOSException` is raised as
application code relying on this behavior is in error. In addition,
use of this method when the SRID is ``None`` or less than 0 now generates
a warning because a :class:`~django.contrib.gis.geos.GEOSException` will
be raised instead in version 1.5.
use of this method when the SRID is ``None`` or less than 0 now also generates
a :class:`~django.contrib.gis.geos.GEOSException`.
``Point``