January 2, 2015
Django 1.7.2 fixes several bugs in 1.7.1.
Additionally, Django’s vendored version of six, django.utils.six
, has
been upgraded to the latest release (1.9.0).
Meta.db_table
(#%s23630).id
field to a model on
SQLite (#%s23702).RuntimeError
was raised every time two models clashed in the app registry.
(#%s23621).flush
from loading initial data for migrated apps
(#%s23699).makemessages
regression in 1.7.1 when
STATIC_ROOT
has the default None
value (#%s23717).GeometryField
s in migrations
(#%s23719).AlterIndexTogether
or AlterUniqueTogether
(#%s23614).GeometryField
s with blank=True
on PostGIS (#%s23731).DateTimeField()
as Transform.output_field
(#%s23420).float("nan")
and
float("inf")
(#%s23770).queryset
attribute
but no limit_choices_to
could not be used in a
ModelForm
(#%s23795).db_type
returned None
(#%s23761).index_together
(#%s23859).squashmigrations
to respect the --no-optimize
parameter
(#%s23799).RenameModel
reversible
(#%s22248)index/unique_together
constraint (#%s23794).django.core.files.File.__repr__()
when the file’s name
contains
Unicode characters (#%s23888).delete_selected
view that prevented
custom site header, etc. from appearing (#%s23898).index_together
handling for SQLite (#%s23880).RunSQL
SQL content was collected by the schema editor,
typically when using sqlmigrate
(#%s23909).contrib.admin
add/change views which caused some
ModelAdmin
methods to receive the incorrect obj
value
(#%s23934).runserver
crash when socket error message contained Unicode
characters (#%s23946).type
when adding a deconstruct()
method
(#%s23950).django.contrib.auth.middleware.SessionAuthenticationMiddleware
from
setting a "Vary: Cookie"
header on all responses (#%s23939).blank=True
to TextField()
on MySQL
(#%s23920).{text|varchar}_pattern_ops
indexes
(#%s23954).makemigrations
that created broken migration files when
dealing with multiple table inheritance and inheriting from more than one
model (#%s23956).MultiValueField
has invalid data (#%s23674).related_name
to text (Unicode), since that is required
on Python 3 for interpolation. Removed conversion of related_name
to text
in migration deconstruction (#%s23455 and #%s23982).timesince
filter translations in Korean (#%s23989).SchemaEditor
to properly add defaults in the absence of
a user specified default
. For example, a CharField
with blank=True
didn’t set existing rows to an empty string which resulted in a crash when
adding the NOT NULL
constraint (#%s23987).makemigrations
no longer prompts for a default value when adding
TextField()
or CharField()
without a default
(#%s23405).order_with_respect_to
to a table
with existing rows (#%s23983).pre_migrate
signal if all apps have migrations
(#%s23975).AdminSite
s (#%s23497).AppRegistryNotReady
exception (#%s24007).datetime.time
support to migrations questioner (#%s23998).AlterModelOptions
operation
instead of DeleteModel
and CreateModel
operations when changing
Meta.managed
. This prevents data loss when changing managed
from
False
to True
and vice versa (#%s24037).sqlsequencereset
command on apps with migrations
(#%s24054).contrib.sites
default site creation in a multiple database
setup (#%s24000).str
or bytes
in
django.utils.safestring.mark_for_escaping()
on Python 3.__html__
convention in the template engine (#%s23831).DROP DEFAULT
SQL in migrations (#%s23581).ValidationError
is initialized with a ValidationError
that is initialized with a dictionary (#%s24008).migrate --list
(#%s23366).Sep 26, 2023