August 31, 2018
Django 2.1.1 fixes several bugs in 2.1.
QuerySet.update_or_create()
that could result
in data loss (#29499).QueryDict.urlencode()
crashed if the dictionary
contains a non-string value (#29627).manage.py test --keepdb
fails on PostgreSQL if the database exists and the user doesn't have
permission to create databases (#29613).Q
objects with __in
lookups and lists crashed (#29643).DurationField
's "overflow" error message
(#29623).TabularInline
(#29637).related_query_name
reverse accessor wasn't set
up when a GenericRelation
is declared on an abstract base model
(#29653).QuerySet.values()
or
values_list()
after combining querysets with extra()
with
union()
, difference()
, or intersection()
crashed due to
mismatching columns (#29694).InlineModelAdmin.has_add_permission()
doesn't accept the
obj
argument (#29723).1月 11, 2019