---
title: "Django 1.11.7 版本发行说明"
version: 4.1
locale: zh-hans
source: https://docs.djangoproject.com/zh-hans/4.1/releases/1.11.7/
canonical: https://djangodocs.dev/zh-hans/4.1/releases/1.11.7/
---
# Django 1.11.7 版本发行说明

*2017 年 11 月 1 日*

Django 1.11.7 修复了 1.11.6 中的几个漏洞。

## 漏洞修复

- Prevented `cache.get_or_set()` from caching `None` if the `default`
  argument is a callable that returns `None` ([#28601](https://code.djangoproject.com/ticket/28601)).
- Fixed the Basque `DATE_FORMAT` string ([#28710](https://code.djangoproject.com/ticket/28710)).
- Made `QuerySet.reverse()` affect `nulls_first` and `nulls_last`
  ([#28722](https://code.djangoproject.com/ticket/28722)).
- Fixed unquoted table names in `Subquery` SQL when using `OuterRef`
  ([#28689](https://code.djangoproject.com/ticket/28689)).
