Python Web 框架 Django 1.11.14 和 2.0.7 已发布,官方表示,这是一次 bug 修复版本的发布。主要修复了以下的 bug:
Fixed
WKBWriter.write()
andwrite_hex()
for empty polygons on GEOS 3.6.1+ (#29460).Fixed a regression in Django 1.10 that could result in large memory usage when making edits using
ModelAdmin.list_editable
(#28462).
可以看到,该版本修复了 Django 1.10 中一个会导致出现内存被大量使用的回归错误。
Fixed admin changelist crash when using a query expression without
asc()
ordesc()
in the page’s ordering (#29428).Fixed admin check crash when using a query expression in
ModelAdmin.ordering
(#29428).Fixed
__regex
and__iregex
lookups with MySQL 8 (#29451).Fixed migrations crash with namespace packages on Python 3.7 (#28814).
该版本也修复了一个使用 MySQL 8 的 __regex 和 __iregex 时关于查找的问题