Django 1.8.7 release notes

    漏洞修复

    • Fixed a crash of the debug view during the autumn DST change when is False and is installed.
    • Fixed a regression in 1.8.6 that caused database routers without an allow_migrate() method to crash (#25686).
    • Fixed a regression in 1.8.6 that caused an application with South migrations in the migrations directory to fail ().
    • Fixed a data loss possibility with Prefetch if to_attr is set to a ManyToManyField ().
    • Fixed a regression in 1.8 by making gettext() once again return UTF-8 bytestrings on Python 2 if the input is a bytestring (#25720).
    • Fixed serialization of and ().
    • Fixed Model.refresh_from_db() updating of ForeignKey fields with on_delete=models.SET_NULL (#25715).
    • Fixed a duplicate query regression in 1.8 on proxied model deletion ().
    • Fixed set_FOO_order() crash when the ForeignKey of a model with order_with_respect_to references a model with a OneToOneField primary key (#25786).
    • Fixed incorrect validation for PositiveIntegerField and PositiveSmallIntegerField on MySQL resulting in values greater than 4294967295 or 65535, respectively, passing validation and being silently truncated by the database ().