Commit Graph

15 Commits

Author SHA1 Message Date
Andy Chosak 12e5b87b89 [1.7.x] Fixed #23420 - broken warning for unbound naive datetime objects
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).

Backport of ceb1ffcc8d from master.

Conflicts:
	tests/custom_lookups/tests.py
2014-11-03 15:59:17 +02:00
Tim Graham 17205a98ed [1.7.x] Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
Thanks raratiru for the report and Claude Paroz for review.

Backport of d6d55368d4 from master
2014-10-31 18:38:46 -04:00
Markus Holtermann 40ad022d5e [1.7.x] Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value
Thanks to Andrey Antukh for the report.

Backport of 715ccfde24 from master
2014-10-31 13:30:56 -04:00
Tim Graham 9c9f35ed27 [1.7.x] Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
Thanks Doug Goldstein for the initial patch.

Backport of 57e40551e4 from master
2014-10-30 13:58:02 -04:00
slollo ffd31c017f [1.7.x] Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday.
Backport of eab3dc195e from master
2014-10-30 09:20:57 -04:00
Markus Holtermann 21358e7225 [1.7.x] Fixed #23614 -- Changed the way the migration autodetector orders unique/index_together
Thanks to Naddiseo for the report and Tim Graham for the review

Backport of 5c9c1e029d from master
2014-10-29 13:16:23 -04:00
Tim Graham bb42bab6d3 [1.7.x] Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations.
Backport of 03bd79ed2 from master
2014-10-29 08:25:59 -04:00
Claude Paroz a0cfd77971 [1.7.x] Added GeoDjango compatibility with mysqlclient driver
Thanks Tim Graham for helping on that issue.
2014-10-27 16:10:35 +01:00
Claude Paroz 6a1bd837b1 [1.7.x] Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None
Backport of 528c9af54 from master.
2014-10-27 13:59:09 +01:00
Tim Graham 6149a0ab18 [1.7.x] Edited release note for refs #23621. 2014-10-27 07:13:23 -04:00
Tim Graham 5cc8180a65 [1.7.x] Fixed #23699 -- Prevented flush from loading initial data for apps with migrations.
Backport of dd1ea70779 from master.
2014-10-27 07:13:05 -04:00
Loic Bistuer 7fa6781f81 [1.7.x] Fixed #23621 -- Warn for duplicate models when a module is reloaded.
Previously a RuntimeError was raised every time two models clashed
in the app registry. This prevented reloading a module in a REPL;
while it's not recommended to do so, we decided not to forbid this
use-case by turning the error into a warning.

Thanks dfunckt and Sergey Pashinin for the initial patches.

Backport of 8c4ca16c65 and b62f72498a from master
2014-10-26 00:12:17 +07:00
Tim Graham 7750fc8fa8 [1.7.x] Fixed #23702 -- Fixed adding an explicit id field on SQLite.
Thanks gavinwahl for the report.

Backport of 92269b7b53 from master
2014-10-23 14:35:55 -04:00
Tim Graham f70a733abc [1.7.x] Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.

Backport of 41b337efa0 from master
2014-10-23 08:51:08 -04:00
Tim Graham 81095a1ae5 [1.7.x] Added stub release notes for 1.7.2.
Backport of 4bf86d25e5 from master
2014-10-22 13:39:27 -04:00