October 22, 2014
Django 1.7.1 fixes several bugs in 1.7.
Allowed related many-to-many fields to be referenced in the admin (#23604).
Added a more helpful error message if you try to migrate an app without first
contenttypes table (#22411).
Modified migrations dependency algorithm to avoid possible infinite recursion.
UnicodeDecodeError when the
flush error message contained
Unicode characters (#22882).
CHECK SQL clauses which were omitted on some backends
when not using migrations (#23416).
Fixed serialization of
type objects in migrations (#22951).
Allowed inline and hidden references to admin fields (#23431).
@deconstructible decorator now fails with a
ValueError if the
decorated object cannot automatically be imported (#23418).
Fixed a typo in an
inlineformset_factory() error message that caused a
Restored the ability to use
ABSOLUTE_URL_OVERRIDES with the
'auth.User' model (#11775). As a side effect, the setting now
get_absolute_url() method to any model that appears in
ABSOLUTE_URL_OVERRIDES but doesn’t define
Avoided masking some
ImportError exceptions during application loading
unique_together model options no longer
results in infinite migrations (#23452).
Fixed crash in
lastmod returned a
Allowed migrations to work with
app_labels that have the same last
Restored the ability to deepcopy
F objects (#23492).
Formats for Welsh (
cy) and several Chinese locales (
zh_TW) have been added. Formats for
Macedonian have been fixed (trailing dot removed, #23532).
Added quoting of constraint names in the SQL generated by migrations to prevent crash with uppercase characters in the name (#23065).
Fixed renaming of models with a self-referential many-to-many field
migrations.RunSQL no longer require percent sign escaping. This is
now consistent with
Fixed bug in migrations that prevented foreign key constraints to unmanaged models with a custom primary key (#23415).
SchemaEditor for MySQL GIS backend so that spatial indexes will be
created for apps with migrations (#23538).
SchemaEditor for Oracle GIS backend so that spatial metadata and
indexes will be created for apps with migrations (#23537).
related_name model field option to Unicode during migration
generation to generate migrations that work with both Python 2 and 3
MigrationWriter to handle builtin types without imports
admindocs view to browse view details check
if the view specified in the URL exists in the URLconf. Previously it was
possible to import arbitrary packages from the Python path. This was not
considered a security issue because
admindocs is only accessible to staff
UnicodeDecodeError crash in
AdminEmailHandler with non-ASCII
characters in the request (#23593).
update_or_create on related managers
Added a prompt to the migrations questioner when removing the null constraint from a field to prevent an IntegrityError on existing NULL rows (#23609).
Fixed generic relations in
Restored RFC compliance for the SMTP backend on Python 3 (#23063).
Fixed a crash while parsing cookies containing invalid content (#23638).
The system check framework now raises error models.E020 when the
Model.check() is unreachable (#23615).
Made the Oracle test database creation drop the test user in the event of an unclean exit of a previous test run (#23649).
Fixed a regression when feeding the Django test client with an empty data string (#21740).