May 1, 2015
Django 1.8.1 fixes several bugs in 1.8 and includes some optimizations in the migrations framework.
timedelta
objects in
migrations (#%s24566).testserver
command’s positional
arguments (fixture names) (#%s24571).TypeError
in translation functions check_for_language()
and
get_language_bidi()
when translations are deactivated (#%s24569).squashmigrations
command when using
SeparateDatabaseAndState
(#%s24278).datetime
values when using an older version of
the MySQLdb DB API driver as it does not support fractional seconds
(#%s24584).ManyToManyField
s (#%s24513).QuerySet.update()
on foreign keys to one-to-one fields
(#%s24578).admindocs
when a model has a reverse foreign key
relation (#%s24624).admindocs
(#%s24625).QuerySet.update()
on foreign keys to instances with
uuid
primary keys (#%s24611).urlpatterns
examples generated by startproject
to
remove usage of referencing views by dotted path in
django.conf.urls.url()
which is deprecated in Django 1.8
(#%s24635).order_by()
, but wasn’t
part of the select clause. An example query is
qs.annotate(foo=F('field')).values('pk').order_by('foo'))
(#%s24615).null
/not null
column properties during field
alteration of MySQL databases (#%s24595).contrib.admin
’s related field widget when using
alternate static file storages (#%s24655).test --keepdb
, which
prevented apps with data migrations from using the option (#%s24729).makemessages
crash in some locales (#%s23271).contrib.admin
fields that use the
ModelAdmin.filter_horizontal
and filter_vertical
options
(#%s24676).AttributeError: function 'GDALAllRegister' not found
error when
initializing contrib.gis
on Windows.ModelState
to deepcopy fields instead of deconstructing and
reconstructing (#%s24591). This speeds up the rendering of model
states and reduces memory usage when running manage.py migrate
(although other changes in this release may negate any performance
benefits).Sep 26, 2023