January 2, 2015
Django 1.7.2 fixes several bugs in 1.7.1.
Additionally, Django’s vendored version of six,
been upgraded to the latest release (1.9.0).
Fixed a migration crash when adding an explicit
id field to a model on
Added a warning for duplicate models when a module is reloaded. Previously a
RuntimeError was raised every time two models clashed in the app registry.
Added GeoDjango compatibility with mysqlclient database driver.
Fixed MySQL 5.6+ crash with
GeometryFields in migrations
Fixed a migration crash when removing a field that is referenced in
Updated the first day of the week in the Ukrainian locale to Monday.
Added support for transactional spatial metadata initialization on SpatiaLite 4.1+ (#23152).
Fixed a migration crash that prevented changing a nullable field with a default to non-nullable with the same default (#23738).
Fixed a migration crash when adding
on PostGIS (#23731).
Allowed usage of
Fixed a migration serializing bug involving
Fixed a custom field type validation error with MySQL backend when
Fixed a migration crash when a field is renamed that is part of an
Avoided unnecessary rollbacks of migrations from other apps when migrating backwards (#23410).
Fixed a rare query error when using deeply nested subqueries (#23605).
Fixed a crash in migrations when deleting a field that is part of a
index/unique_together constraint (#23794).
django.core.files.File.__repr__() when the file’s
Unicode characters (#23888).
Added missing context to the admin’s
delete_selected view that prevented
custom site header, etc. from appearing (#23898).
Fixed a regression with dynamically generated inlines and allowed field references in the admin (#23754).
Fixed an infinite loop bug for certain cyclic migration dependencies, and made the error message for cyclic dependencies much more helpful.
index_together handling for SQLite (#23880).
Fixed a crash when
RunSQL SQL content was collected by the schema editor,
typically when using
Fixed a regression in
contrib.admin add/change views which caused some
ModelAdmin methods to receive the incorrect
runserver crash when socket error message contained Unicode
Fixed serialization of
type when adding a
"Vary: Cookie" header on all responses (#23939).
Fixed a crash when adding
TextField() on MySQL
Fixed index creation by the migration infrastructure, particularly when
dealing with PostgreSQL specific
Fixed bug in
makemigrations that created broken migration files when
dealing with multiple table inheritance and inheriting from more than one
Fixed a crash when a
MultiValueField has invalid data (#23674).
Fixed a crash in the admin when using “Save as new” and also deleting a related inline (#23857).
Enlarged the sizes of tablespaces which are created by default for testing on Oracle (the main tablespace was increased from 200M to 300M and the temporary tablespace from 100M to 150M). This was required to accommodate growth in Django’s own test suite (#23969).
timesince filter translations in Korean (#23989).
Fixed the SQLite
SchemaEditor to properly add defaults in the absence of
a user specified
default. For example, a
didn’t set existing rows to an empty string which resulted in a crash when
NOT NULL constraint (#23987).
makemigrations no longer prompts for a default value when adding
CharField() without a
Fixed a migration crash when adding
order_with_respect_to to a table
with existing rows (#23983).
pre_migrate signal if all apps have migrations
Made admin system checks run for custom
Ensured the app registry is fully populated when unpickling models. When an
external script (like a queueing infrastructure) reloads pickled models, it
could crash with an
AppRegistryNotReady exception (#24007).
Added quoting to field indexes in the SQL generated by migrations to prevent a crash when the index name requires it (#24015).
datetime.time support to migrations questioner (#23998).
Fixed admindocs crash on apps installed as eggs (#23525).
Changed migrations autodetector to generate an
CreateModel operations when changing
Meta.managed. This prevents data loss when changing
True and vice versa (#24037).
sqlsequencereset command on apps with migrations
Added tablespace SQL to apps with migrations (#24051).
contrib.sites default site creation in a multiple database
Supported strings escaped by third-party libraries with the
convention in the template engine (#23831).
DROP DEFAULT SQL in migrations (#23581).
Restored the ability to use more than five levels of subqueries (#23758).
Fixed crash when
ValidationError is initialized with a
that is initialized with a dictionary (#24008).
Prevented a crash on apps without migrations when running