Django 1.8.2 版本发行说明

    漏洞修复

    • Fixed check for template engine alias uniqueness ().
    • Corrected join promotion for Case expressions. For example, annotating a query with a Case expression could unexpectedly filter out results (#24766).
    • Fixed negated Q objects in expressions. Cases like Case(When(~Q(friends__age__lte=30))) tried to generate a subquery which resulted in a crash ().
    • Fixed incorrect GROUP BY clause generation on MySQL when the query’s model has a self-referential foreign key (#24748).
    • Fixed isnull lookup for HStoreField ().
    • Fixed a MySQL crash when a migration removes a combined index (unique_together or index_together) containing a foreign key (#24757).
    • Fixed session cookie deletion when using (#24799).
    • Fixed display of contrib.admin’s widget when it’s used in a row with other fields ().