January 2, 2016
Django 1.9.1 fixes several bugs in 1.9.
BaseCache.get_or_set()
with the DummyCache
backend
(#25840).FormMixin
causing forms to be validated twice
(#25548, #26018).ArrayField
s (#25867).SeparateDatabaseAndState
operation
backwards (#25896).CommonMiddleware
causing If-None-Match
checks
to always return HTTP 200 (#25900).varchar/text_pattern_ops
index on CharField
and
TextField
respectively when using AlterField
on PostgreSQL
(#25412).from __future__ import unicode_literals
to the default apps.py
created by startapp
on Python 2 (#25909). Add this line to your
own apps.py
files created using Django 1.9 if you want your migrations
to work on both Python 2 and Python 3.QuerySet.delete()
from crashing on MySQL when querying across
relations (#25882).QuerySet.values()
(#25894).AlterModelManagers
operation
(#25852).TypedChoiceField
change detection with nullable fields
(#25942).data-admin-utc-offset
attribute in the body
tag.
(#25845).LANGUAGES
) (#25915).INSTALLED_APPS
setting,
behind AppRegistryNotReady
when starting runserver
(#25510).
This regression appeared in 1.8.5 as a side effect of fixing #24704
and by mistake the fix wasn't applied to the stable/1.9.x
branch.migrate --fake-initial
detection of many-to-many tables
(#25922).list_editable
add and change
buttons (#25903).isnull
query lookup for ForeignObject
(#25972).<br>
(#25465).SingleObjectMixin.get_context_object_name()
(#26006).loaddata
skip disabling and enabling database constraints when it
doesn't load any fixtures (#23372).contrib.auth
hashers compatibility with py-bcrypt
(#26016).QuerySet.values()/values_list()
after an annotate()
and order_by()
when values()/values_list()
includes a field not in
the order_by()
(#25316).5月 26, 2021