Django 2.1.3 版本发行说明
November 1, 2018
Django 2.1.3 fixes several bugs in 2.1.2.
漏洞修复
- Fixed a regression in Django 2.0 where combining
Q
objects with__in
lookups and lists crashed (#29838). - Fixed a regression in Django 1.11 where
django-admin shell
may hang on startup (#29774). - Fixed a regression in Django 2.0 where test databases aren't reused with
manage.py test --keepdb
on MySQL (#29827). - Fixed a regression where cached foreign keys that use
to_field
were incorrectly cleared inModel.save()
(#29896). - Fixed a regression in Django 2.0 where
FileSystemStorage
crashes withFileExistsError
if concurrent saves try to create the same directory (#29890).
讨论区