2014-10-22 17:38:57 +00:00
|
|
|
==========================
|
|
|
|
Django 1.7.2 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.7.2 fixes several bugs in 1.7.1.
|
|
|
|
|
2014-11-05 01:38:38 +00:00
|
|
|
Additionally, Django's vendored version of six, :mod:`django.utils.six`, has
|
|
|
|
been upgraded to the latest release (1.8.0).
|
|
|
|
|
2014-10-22 17:38:57 +00:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2014-10-22 13:59:00 +00:00
|
|
|
* Fixed migration's renaming of auto-created many-to-many tables when changing
|
|
|
|
:attr:`Meta.db_table <django.db.models.Options.db_table>` (:ticket:`23630`).
|
2014-10-23 16:24:34 +00:00
|
|
|
|
|
|
|
* Fixed a migration crash when adding an explicit ``id`` field to a model on
|
|
|
|
SQLite (:ticket:`23702`).
|
2014-10-24 19:29:59 +00:00
|
|
|
|
2014-10-27 11:01:12 +00:00
|
|
|
* Added a warning for duplicate models when a module is reloaded. Previously a
|
|
|
|
``RuntimeError`` was raised every time two models clashed in the app registry.
|
|
|
|
(:ticket:`23621`).
|
|
|
|
|
2014-10-24 19:29:59 +00:00
|
|
|
* Prevented :djadmin:`flush` from loading initial data for migrated apps
|
|
|
|
(:ticket:`23699`).
|
2014-10-27 08:35:01 +00:00
|
|
|
|
|
|
|
* Fixed a :djadmin:`makemessages` regression in 1.7.1 when
|
|
|
|
:setting:`STATIC_ROOT` has the default ``None`` value (:ticket:`23717`).
|
2014-10-28 12:10:45 +00:00
|
|
|
|
2014-10-29 12:37:54 +00:00
|
|
|
* Added GeoDjango compatibility with mysqlclient database driver.
|
|
|
|
|
2014-10-28 12:10:45 +00:00
|
|
|
* Fixed MySQL 5.6+ crash with ``GeometryField``\s in migrations
|
|
|
|
(:ticket:`23719`).
|
2014-10-27 23:28:37 +00:00
|
|
|
|
|
|
|
* Fixed a migration crash when removing a field that is referenced in
|
|
|
|
``AlterIndexTogether`` or ``AlterUniqueTogether`` (:ticket:`23614`).
|
2014-10-29 00:40:02 +00:00
|
|
|
|
|
|
|
* Updated the first day of the week in the Ukrainian locale to Monday.
|
2014-10-30 17:52:42 +00:00
|
|
|
|
|
|
|
* Added support for transactional spatial metadata initialization on
|
|
|
|
SpatiaLite 4.1+ (:ticket:`23152`).
|
2014-10-31 13:08:24 +00:00
|
|
|
|
|
|
|
* Fixed a migration crash that prevented changing a nullable field with a
|
|
|
|
default to non-nullable with the same default (:ticket:`23738`).
|
2014-10-31 13:04:46 +00:00
|
|
|
|
|
|
|
* Fixed a migrations crash when adding ``GeometryField``\s with ``blank=True``
|
|
|
|
on PostGIS (:ticket:`23731`).
|
2014-10-08 19:12:42 +00:00
|
|
|
|
|
|
|
* Allowed usage of ``DateTimeField()`` as ``Transform.output_field``
|
|
|
|
(:ticket:`23420`).
|
2014-11-06 11:29:43 +00:00
|
|
|
|
|
|
|
* Fixed a migration serializing bug involving ``float("nan")`` and
|
2014-11-05 02:57:47 +00:00
|
|
|
``float("inf")`` (:ticket:`23770`).
|
2014-11-12 20:18:11 +00:00
|
|
|
|
|
|
|
* Fixed a regression where custom form fields having a ``queryset`` attribute
|
|
|
|
but no ``limit_choices_to`` could not be used in a
|
|
|
|
:class:`~django.forms.ModelForm` (:ticket:`23795`).
|
2014-11-05 02:57:47 +00:00
|
|
|
|
|
|
|
* Fixed a custom field type validation error with MySQL backend when
|
|
|
|
``db_type`` returned ``None`` (:ticket:`23761`).
|