mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Fixed #25951 -- Trimmed default representation of GEOSGeometry
Thanks Sergey Fedoseev for the report.
This commit is contained in:
@@ -654,14 +654,29 @@ You can check if your database has any of the removed hashers like this::
|
||||
# Unsalted MD5 passwords might not have an 'md5$$' prefix:
|
||||
User.objects.filter(password__length=32)
|
||||
|
||||
:mod:`django.contrib.gis`
|
||||
-------------------------
|
||||
|
||||
* Support for SpatiaLite < 3.0 and GEOS < 3.3 is dropped.
|
||||
|
||||
* The ``add_postgis_srs()`` backwards compatibility alias for
|
||||
``django.contrib.gis.utils.add_srs_entry()`` is removed.
|
||||
|
||||
* On Oracle/GIS, the :class:`~django.contrib.gis.db.models.functions.Area`
|
||||
aggregate function now returns a ``float`` instead of ``decimal.Decimal``.
|
||||
(It's still wrapped in a measure of square meters.)
|
||||
|
||||
* The default :class:`~django.contrib.gis.geos.GEOSGeometry` representation (WKT
|
||||
output) is trimmed by default. That is, instead of
|
||||
``POINT (23.0000000000000000 5.5000000000000000)``, you'll get
|
||||
``POINT (23 5.5)``.
|
||||
|
||||
Miscellaneous
|
||||
-------------
|
||||
|
||||
* The ``repr()`` of a ``QuerySet`` is wrapped in ``<QuerySet >`` to
|
||||
disambiguate it from a plain list when debugging.
|
||||
|
||||
* Support for SpatiaLite < 3.0 and GEOS < 3.3 is dropped.
|
||||
|
||||
* ``utils.version.get_version()`` returns :pep:`440` compliant release
|
||||
candidate versions (e.g. '1.10rc1' instead of '1.10c1').
|
||||
|
||||
@@ -669,9 +684,6 @@ Miscellaneous
|
||||
since pre-1.0. If you use it in your project, you can add it to your
|
||||
project's settings. The default value was ``'/accounts/logout/'``.
|
||||
|
||||
* The ``add_postgis_srs()`` backwards compatibility alias for
|
||||
``django.contrib.gis.utils.add_srs_entry()`` is removed.
|
||||
|
||||
* Objects with a ``close()`` method such as files and generators passed to
|
||||
:class:`~django.http.HttpResponse` are now closed immediately instead of when
|
||||
the WSGI server calls ``close()`` on the response.
|
||||
@@ -698,10 +710,6 @@ Miscellaneous
|
||||
argument of the ``render_options()`` method is also removed, making
|
||||
``selected_choices`` the first argument.
|
||||
|
||||
* On Oracle/GIS, the :class:`~django.contrib.gis.db.models.functions.Area`
|
||||
aggregate function now returns a ``float`` instead of ``decimal.Decimal``.
|
||||
(It's still wrapped in a measure of square meters.)
|
||||
|
||||
* Tests that violate deferrable database constraints will now error when run on
|
||||
a database that supports deferrable constraints.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user