Django 2.0.1 版本发行说明
Django 2.0.1 fixes several bugs in 2.0.
- Fixed a regression in Django 1.11 that added newlines between ‘s subwidgets (#28890).
- Fixed incorrect class-based model index name generation for models with quoted
db_table
(). - Fixed a regression in caching of a
GenericForeignKey
when the referenced model instance uses more than one level of multi-table inheritance (#28856). - Reallowed filtering a queryset with ().
- Corrected admin check to allow a
OneToOneField
inModelAdmin.autocomplete_fields
(#28898). - Fixed crash in the command startup ().
- Fixed crash when coercing a translatable URL pattern to
str
(#28947). - Fixed crash on SQLite when renaming a field in a model referenced by a
ManyToManyField
(). - Fixed admin changelist crash when using a query expression in the page’s ordering (#28958).