2015-05-21 02:17:59 +08:00
|
|
|
|
==========================
|
|
|
|
|
Django 1.8.3 release notes
|
|
|
|
|
==========================
|
|
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
|
|
Django 1.8.3 fixes several bugs in 1.8.2.
|
|
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
|
========
|
|
|
|
|
|
2015-05-22 21:54:31 +08:00
|
|
|
|
* Fixed ``BaseRangeField.prepare_value()`` to use each ``base_field``’s
|
|
|
|
|
``prepare_value()`` method (:ticket:`24841`).
|
2015-05-25 03:17:39 +08:00
|
|
|
|
|
|
|
|
|
* Fixed crash during :djadmin:`makemigrations` if a migrations module either
|
|
|
|
|
is missing ``__init__.py`` or is a file (:ticket:`24848`).
|
2015-05-25 01:05:56 +08:00
|
|
|
|
|
2015-05-26 09:03:41 +08:00
|
|
|
|
* Fixed ``QuerySet.exists()`` returning incorrect results after annotation with
|
2015-05-25 01:05:56 +08:00
|
|
|
|
``Count()`` (:ticket:`24835`).
|
2015-05-26 09:03:41 +08:00
|
|
|
|
|
|
|
|
|
* Corrected ``HStoreField.has_changed()`` (:ticket:`24844`).
|
2015-05-27 04:46:13 +08:00
|
|
|
|
|
|
|
|
|
* Reverted an optimization to the CSRF template context processor which caused
|
|
|
|
|
a regression (:ticket:`24836`).
|
2015-05-27 03:38:01 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a regression which caused template context processors to overwrite
|
|
|
|
|
variables set on a ``RequestContext`` after it's created (:ticket:`24847`).
|
2015-05-27 06:18:21 +08:00
|
|
|
|
|
|
|
|
|
* Prevented the loss of ``null``/``not null`` column properties during field
|
|
|
|
|
renaming of MySQL databases (:ticket:`24817`).
|
2015-05-27 23:43:22 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a crash when using a reverse one-to-one relation in
|
|
|
|
|
``ModelAdmin.list_display`` (:ticket:`24851`).
|
2015-06-02 05:06:54 +08:00
|
|
|
|
|
|
|
|
|
* Fixed quoting of SQL when renaming a field to ``AutoField`` in PostgreSQL
|
|
|
|
|
(:ticket:`24892`).
|
2015-06-02 07:27:28 +08:00
|
|
|
|
|
|
|
|
|
* Fixed lack of unique constraint when changing a field from
|
|
|
|
|
``primary_key=True`` to ``unique=True`` (:ticket:`24893`).
|
2015-05-29 19:45:36 +08:00
|
|
|
|
|
|
|
|
|
* Fixed queryset pickling when using ``prefetch_related()`` after deleting
|
|
|
|
|
objects (:ticket:`24831`).
|
2015-06-02 17:08:41 +08:00
|
|
|
|
|
|
|
|
|
* Allowed using ``choices`` longer than 1 day with ``DurationField``
|
|
|
|
|
(:ticket:`24897`).
|
2015-06-02 07:22:10 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a crash when loading squashed migrations from two apps with a
|
|
|
|
|
dependency between them, where the dependent app's replaced migrations are
|
|
|
|
|
partially applied (:ticket:`24895`).
|
2015-06-03 04:23:07 +08:00
|
|
|
|
|
|
|
|
|
* Fixed recording of applied status for squashed (replacement) migrations
|
|
|
|
|
(:ticket:`24628`).
|
2015-06-05 18:10:51 +08:00
|
|
|
|
|
|
|
|
|
* Fixed queryset annotations when using ``Case`` expressions with ``exclude()``
|
|
|
|
|
(:ticket:`24833`).
|
2015-06-05 22:48:57 +08:00
|
|
|
|
|
|
|
|
|
* Corrected join promotion for multiple ``Case`` expressions. Annotating a
|
|
|
|
|
query with multiple ``Case`` expressions could unexpectedly filter out
|
|
|
|
|
results (:ticket:`24924`).
|
2015-06-04 22:51:07 +08:00
|
|
|
|
|
|
|
|
|
* Fixed usage of transforms in subqueries (:ticket:`24744`).
|
2015-06-10 05:57:21 +08:00
|
|
|
|
|
|
|
|
|
* Fixed ``SimpleTestCase.assertRaisesMessage()`` on Python 2.7.10
|
|
|
|
|
(:ticket:`24903`).
|
2015-06-05 01:03:28 +08:00
|
|
|
|
|
|
|
|
|
* Provided better backwards compatibility for the ``verbosity`` argument in
|
|
|
|
|
``optparse`` management commands by casting it to an integer
|
|
|
|
|
(:ticket:`24769`).
|
2015-06-05 19:40:51 +08:00
|
|
|
|
|
|
|
|
|
* Fixed ``prefetch_related()`` on databases other than PostgreSQL for models
|
|
|
|
|
using UUID primary keys (:ticket:`24912`).
|
2015-06-12 14:22:08 +08:00
|
|
|
|
|
|
|
|
|
* Fixed removing ``unique_together`` constraints on MySQL (:ticket:`24972`).
|
2015-06-16 23:24:59 +08:00
|
|
|
|
|
|
|
|
|
* Fixed crash when uploading images with MIME types that Pillow doesn't detect,
|
|
|
|
|
such as bitmap, in ``forms.ImageField`` (:ticket:`24948`).
|
2015-06-19 03:57:08 +08:00
|
|
|
|
|
|
|
|
|
* Fixed a regression when deleting a model through the admin that has a
|
|
|
|
|
``GenericRelation`` with a ``related_query_name`` (:ticket:`24940`).
|