2014-09-03 03:41:21 +02:00
|
|
|
==========================
|
|
|
|
Django 1.7.1 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.7.1 fixes several bugs in 1.7.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2014-09-10 19:25:40 +02:00
|
|
|
* Added a more helpful error message if you try to migrate an app without first
|
|
|
|
creating the ``contenttypes`` table (:ticket:`22411`).
|
|
|
|
|
|
|
|
* Modified migrations dependency algorithm to avoid possible infinite recursion.
|
2014-09-06 16:07:34 +02:00
|
|
|
|
|
|
|
* Fixed a ``UnicodeDecodeError`` when the ``flush`` error message contained
|
|
|
|
Unicode characters (:ticket:`22882`).
|
2014-09-04 17:32:51 +02:00
|
|
|
|
|
|
|
* Reinstated missing ``CHECK`` SQL clauses which were omitted on some backends
|
|
|
|
when not using migrations (:ticket:`23416`).
|
2014-09-06 02:07:42 +02:00
|
|
|
|
|
|
|
* Fixed serialization of ``type`` objects in migrations (:ticket:`22951`).
|
2014-09-04 23:04:53 +02:00
|
|
|
|
|
|
|
* Allowed inline and hidden references to admin fields (:ticket:`23431`).
|
2014-09-08 03:01:42 +02:00
|
|
|
|
|
|
|
* The ``@deconstructible`` decorator now fails with a ``ValueError`` if the
|
|
|
|
decorated object cannot automatically be imported (:ticket:`23418`).
|
2014-09-08 21:54:57 +02:00
|
|
|
|
|
|
|
* Fixed a typo in an ``inlineformset_factory()`` error message that caused a
|
|
|
|
crash (:ticket:`23451`).
|
2014-09-09 14:29:49 +02:00
|
|
|
|
|
|
|
* Restored the ability to use :setting:`ABSOLUTE_URL_OVERRIDES` with the
|
|
|
|
``'auth.User'`` model (:ticket:`11775`). As a side effect, the setting now
|
|
|
|
adds a ``get_absolute_url()`` method to any model that appears in
|
|
|
|
``ABSOLUTE_URL_OVERRIDES`` but doesn't define ``get_absolute_url()``.
|
2014-09-09 23:28:45 +02:00
|
|
|
|
2014-09-10 19:25:40 +02:00
|
|
|
* Avoided masking some `ImportError` exceptions during application loading
|
|
|
|
(:ticket:`22920`).
|
|
|
|
|
2014-09-09 23:28:45 +02:00
|
|
|
* Empty ``index_together`` or ``unique_together`` model options no longer
|
|
|
|
results in infinite migrations (:ticket:`23452`).
|
2014-09-09 19:34:40 +02:00
|
|
|
|
|
|
|
* Fixed crash in ``contrib.sitemaps`` if ``lastmod`` returned a ``date`` rather
|
|
|
|
than a ``datetime`` (:ticket:`23403`).
|
2014-09-13 15:21:52 +02:00
|
|
|
|
|
|
|
* Allowed migrations to work with ``app_label``\s that have the same last
|
|
|
|
part (e.g. ``django.contrib.auth`` and ``vendor.auth``) (:ticket:`23483`).
|
2014-09-15 18:17:28 +02:00
|
|
|
|
|
|
|
* Fixed bug in migrations that could cause unexpected data loss when executing
|
|
|
|
a backwards or no-op migration (:ticket:`23474`).
|
2014-09-16 14:32:23 +02:00
|
|
|
|
|
|
|
* Restored the ability to deepcopy ``F`` objects (:ticket:`23492`).
|
2014-09-17 17:11:10 +02:00
|
|
|
|
|
|
|
* Formats for Welsh (``cy``) and several Chinese locales (``zh_CN``,
|
2014-09-22 12:37:07 +02:00
|
|
|
``zh_Hans``, ``zh_Hant`` and ``zh_TW``) have been added. Formats for
|
|
|
|
Macedonian have been fixed (trailing dot removed, :ticket:`23532`).
|
2014-09-16 19:37:18 +02:00
|
|
|
|
|
|
|
* Added quoting of constraint names in the SQL generated by migrations to
|
|
|
|
prevent crash with uppercase characters in the name (:ticket:`23065`).
|
2014-09-17 07:34:10 +02:00
|
|
|
|
|
|
|
* Fixed renaming of models with a self-referential many-to-many field
|
|
|
|
(``ManyToManyField('self')``) (:ticket:`23503`).
|