Django 1.8.8 release notes
- Fixed incorrect field name generation by
inspectdb
(). - Corrected
__len
query lookup onArrayField
for empty arrays (#25772). - Fixed a state bug when migrating a
SeparateDatabaseAndState
operation backwards (). - Fixed missing index on
CharField
andTextField
respectively when usingAlterField
on PostgreSQL (#25412). - Fixed a state bug when using an
AlterModelManagers
operation (). django.views.decorators.cache.never_cache()
now sends more persuasive headers (addedno-cache, no-store, must-revalidate
to ) to better prevent caching (#13008). This fixes a problem where a page refresh in Firefox cleared the selected entries in the admin’sfilter_horizontal
andfilter_vertical
widgets, which could result in inadvertent data loss if a user didn’t notice that and then submitted the form ().- Fixed a regression in the admin which ignored line breaks in read-only fields instead of converting them to
<br>
(#25465). - Made
loaddata
skip disabling and enabling database constraints when it doesn’t load any fixtures ().