2015-04-02 04:08:15 +08:00
|
|
|
==========================
|
|
|
|
Django 1.8.1 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
|
|
|
Django 1.8.1 fixes several bugs in 1.8.
|
|
|
|
|
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
2015-04-02 22:49:41 +08:00
|
|
|
* Added support for serializing :class:`~datetime.timedelta` objects in
|
|
|
|
migrations (:ticket:`24566`).
|
2015-04-03 17:26:20 +08:00
|
|
|
|
|
|
|
* Restored proper parsing of the :djadmin:`testserver` command's positional
|
|
|
|
arguments (fixture names) (:ticket:`24571`).
|
2015-04-03 18:11:54 +08:00
|
|
|
|
|
|
|
* Prevented ``TypeError`` in translation functions ``check_for_language()`` and
|
|
|
|
``get_language_bidi()`` when translations are deactivated (:ticket:`24569`).
|
2015-04-05 21:59:23 +08:00
|
|
|
|
|
|
|
* Fixed :djadmin:`squashmigrations` command when using
|
|
|
|
:class:`~django.db.migrations.operations.SeparateDatabaseAndState`
|
|
|
|
(:ticket:`24278`).
|
2015-04-05 03:22:30 +08:00
|
|
|
|
|
|
|
* Stripped microseconds from ``datetime`` values when using an older version of
|
|
|
|
the MySQLdb DB API driver as it does not support fractional seconds
|
|
|
|
(:ticket:`24584`).
|
2015-04-04 05:36:35 +08:00
|
|
|
|
|
|
|
* Fixed a migration crash when altering
|
|
|
|
:class:`~django.db.models.ManyToManyField`\s (:ticket:`24513`).
|
2015-04-07 21:08:05 +08:00
|
|
|
|
|
|
|
* Fixed a crash with ``QuerySet.update()`` on foreign keys to one-to-one fields
|
|
|
|
(:ticket:`24578`).
|
2015-04-11 17:07:13 +08:00
|
|
|
|
|
|
|
* Fixed a regression in the model detail view of
|
|
|
|
:mod:`~django.contrib.admindocs` when a model has a reverse foreign key
|
|
|
|
relation (:ticket:`24624`).
|
2015-03-31 21:47:06 +08:00
|
|
|
|
|
|
|
* Prevented arbitrary file inclusions in :mod:`~django.contrib.admindocs`
|
|
|
|
(:ticket:`24625`).
|
2015-04-10 02:47:05 +08:00
|
|
|
|
|
|
|
* Fixed a crash with ``QuerySet.update()`` on foreign keys to instances with
|
|
|
|
``uuid`` primary keys (:ticket:`24611`).
|
2015-04-14 04:54:04 +08:00
|
|
|
|
|
|
|
* Fixed database introspection with SQLite 3.8.9 (released April 8, 2015)
|
|
|
|
(:ticket:`24637`).
|
2015-04-14 00:17:38 +08:00
|
|
|
|
|
|
|
* Updated ``urlpatterns`` examples generated by :djadmin:`startproject` to
|
|
|
|
remove usage of referencing views by dotted path in
|
|
|
|
:func:`~django.conf.urls.url` which is deprecated in Django 1.8
|
|
|
|
(:ticket:`24635`).
|
2015-04-15 13:46:19 +08:00
|
|
|
|
|
|
|
* Fixed queries where an expression was referenced in ``order_by()``, but wasn't
|
|
|
|
part of the select clause. An example query is
|
|
|
|
``qs.annotate(foo=F('field')).values('pk').order_by('foo'))`` (:ticket:`24615`).
|
2015-04-16 13:39:31 +08:00
|
|
|
|
|
|
|
* Fixed a database table name quoting regression (:ticket:`24605`).
|