Commit Graph

18241 Commits

Author SHA1 Message Date
Markus Holtermann e8a08514de [1.7.x] Fixed #23455 -- Forced related_name to be a unicode string during deconstruction.
Backport of 45bd7b3bd9 from master
2014-09-25 17:50:50 -04:00
Tim Graham 1dec42822c [1.7.x] Fixed #23538 -- Added SchemaEditor for MySQL GIS.
Thanks Claude Paroz for suggestions and review.

Backport of 74e7f91e6d from master
2014-09-25 14:36:31 -04:00
Markus Holtermann 00c2a721e2 [1.7.x] Fixed #23415 -- Added fields for unmanaged and proxy model migrations.
Thanks sky-chen for the report.

Backport of 215aa4f53b from master
2014-09-25 10:28:11 -04:00
Claude Paroz b5d6092707 [1.7.x] Replaced input by textarea in forms docs
Backport of 5066fda34d from master.
2014-09-25 15:10:14 +02:00
Tim Graham d7b32d3120 [1.7.x] Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations."
Backport of d7ab2cefb7 from master
2014-09-24 15:56:24 -04:00
Tim Graham 02aa3e30e9 [1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24 14:49:46 -04:00
Markus Holtermann 5356183716 [1.7.x] Fixed #22959 -- Documented that class-based validators need to be deconstructible.
Backport of c692e37b63 from master
2014-09-24 14:33:57 -04:00
Markus Holtermann cf78a0ccc3 [1.7.x] Fixed #23473 -- Documented that @deconstructible classes need __eq__.
Backport of 066e672d79 from master
2014-09-24 14:19:43 -04:00
Tim Graham 40e5eb4114 [1.7.x] Corrected --noinput docs for makemigrations; refs #23407.
Backport of 450a616004 from master
2014-09-24 13:30:23 -04:00
Thomas Grainger bebdb026ce [1.7.x] Added SuspiciousOperation to list of caught exceptions in testing docs.
Backport of 21683011d5 from master
2014-09-24 13:05:06 -04:00
Markus Holtermann ae14c75014 [1.7.x] Fixed #23426 -- Don't require double percent sign in RunSQL without parameters
Backport of b9a670b227 from master
2014-09-24 07:21:50 -04:00
Justin Caratzas cc74d8e02e [1.7.x] Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin.
Backport of cf43a1ee90 from master
2014-09-24 06:33:07 -04:00
Tim Graham b4c9920352 [1.7.x] Skipped a broken geoapp test on Oracle; refs #23504.
Backport of 729cd6a11a from master
2014-09-23 20:01:59 -04:00
Sergey Fedoseev 991ec655b6 [1.7.x] Fixed #23503 -- Fixed renaming of model with self-referential m2m field.
Backport of 463952d940 from master
2014-09-23 10:12:10 -04:00
Sergey Fedoseev 58d7b84d53 [1.7.x] Fixed #23065 -- Quoted constraint names in SQL generated by migrations.
Backport of 83cd18633f from master
2014-09-23 10:11:58 -04:00
Sergey Fedoseev 09b5ff64b8 [1.7.x] Factored create_fk_sql, create_unique_sql, and delete_constraint_sql.
Backport of 0bea6c8749 from master
2014-09-23 10:11:29 -04:00
velis74 1c1f418802 [1.7.x] Fixed #23535 -- Updated tutorial to account for default filter added in 5ea34f3f86.
Backport of 24aa85cea9 from master
2014-09-22 15:24:48 -04:00
Dejan Noveski f1d7fffc95 [1.7.x] Fixed #23532 -- Fixed Macedonian locale date formats
Backport of 903d144d85 from master.
2014-09-22 18:07:18 +02:00
Ola Sitarska 99c2e40384 [1.7.x] Fixed #23512 -- Made migration docs about initial_data clearer
Thanks @abhillman and @Markush2010 for submitting the ticket.

Backport of 21819e6dbf from master.
2014-09-21 18:34:08 +02:00
Ola Sitarska 02b3a6dcc0 [1.7.x] Fixed #23529 -- Replaced comments tag library with humanize in docs
Backport of ee442e97da from master.
2014-09-21 17:33:49 +02:00
Claude Paroz 8a78257133 [1.7.x] Fixed #23530 -- Specified PyYAML requirement in initial-data.txt
Thanks aks for the report.
Backport of 5bf654e44b from master.
2014-09-21 16:05:26 +02:00
Tim Graham 17a4038cf3 [1.7.x] Skipped a broken GIS test on Oracle; refs #23504.
Backport of 828edc5ba9 from master
2014-09-19 15:06:11 -04:00
Tim Graham b287676739 [1.7.x] Made a GIS test work on Oracle.
Thanks Josh Smeaton and Claude Paroz for advice.

Backport of 7add30df01 from master
2014-09-19 15:05:56 -04:00
Tim Graham 0f52bf7c96 [1.7.x] Fixed some flake8 errors.
Backport of 9d30412a5a from master
2014-09-19 12:33:44 -04:00
Tim Graham 988c7425ff [1.7.x] Skipped an unsupported test on Oracle GIS.
This is fixed more elegantly on master with a feature flag in 6c1a0581ab.
2014-09-19 12:26:36 -04:00
Tim Graham aa9c69a726 [1.7.x] Fixed an inspectapp test on Oracle GIS.
This is fixed more elegantly with a feature flag on master in 33e817a6d8.
2014-09-19 12:21:43 -04:00
Tim Graham e295b0f875 [1.7.x] Removed unnecessary order_by() from a GIS test that crashed Oracle.
Oracle cannot order_by() a TextField; refs #23504.

Backport of 7fc13178d6 from master
2014-09-19 12:16:23 -04:00
Tim Graham a0a65b2fd2 [1.7.x] Skipped some broken tests on Oracle GIS; refs #23504.
Backport of 7fce7f51ef from master
2014-09-19 12:12:48 -04:00
Tim Graham c61d2c0387 [1.7.x] Improved GIS migration test cleanup; refs #23504.
Backport of 8facb02faf from master
2014-09-19 12:10:37 -04:00
Aymeric Augustin 07b4c3e115 [1.7.x] Fixed a formatting issue in the 1.7 release notes.
Backport of 47ff469 from master.
2014-09-19 13:05:48 +02:00
Malte Beckmann d4c68c46aa [1.7.x] Fixed #23417 -- Completed locale formats for zh_CN, zh_Hans, zh_Hant and zh_TW.
Backport of 1ac32e76ac from master
2014-09-17 11:18:10 -04:00
Duncan Parkes 40ce3efda2 [1.7.x] Overhauled the Welsh formats.py file.
Backport of df7187d795 from master
2014-09-17 11:14:11 -04:00
Tim Graham fdcef1b863 [1.7.x] Fixed #23491 -- Clarified tutorial 3.
Thanks diek for the suggestion.

Backport of 54fd84e432 from master
2014-09-17 08:42:55 -04:00
Joseph Dougherty 722516536e [1.7.x] Fixed #23499 -- Error in built-in template tag "now" documentation
Backport of ab8248361e from master.
2014-09-17 09:23:20 +02:00
Tim Graham 3f6430d084 [1.7.x] Added 1.7.1 release notes for refs #23492.
Backport of 92a8213fdb from master
2014-09-16 08:32:55 -04:00
Baptiste Mispelon 04e7c7d51f [1.7.x] Fixed #23492 -- Restored F.__deepcopy__.
This reverts commit 3a66035107.
A regression test was also added.

Backport of d63ac5b595 from master.
2014-09-16 12:24:01 +02:00
Tim Graham 68ab3b1ac1 [1.7.x] Fixed #23486 -- Corrected makemigrations output in tutorial 1.
Thanks nmarler for the report.

Backport of 0d1561d197 from master
2014-09-15 20:28:49 -04:00
valtron 563eaf0499 [1.7.x] Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations.
Backport of abcf28a076 from master
2014-09-15 15:06:21 -04:00
Tim Graham d1190a1646 [1.7.x] Forwardported 1.4.16 release notes.
Backport of 0ae79014c0 from master
2014-09-13 09:23:40 -04:00
Tim Graham 4b8798cfb9 [1.7.x] Added 1.7.1 release notes for refs #23483.
Backport of 08042f1a73 from master
2014-09-13 09:22:26 -04:00
Claude Paroz 31309d4722 [1.7.x] Fixed #23478 -- Complemented sqlmigrate command help 2014-09-13 09:47:14 +02:00
Carl Meyer ac1adfbe4a [1.7.x] Fixed #23483 -- Prevented ImproperlyConfigured with dotted app names
Made sure the app labels stay unique for the AppConfigStubs, so
migrations wouldn't fail if two dotted app names has the same last part
(e.g. django.contrib.auth and vendor.auth)

Backport of 5e32605ce9 from master.
2014-09-12 15:34:42 -06:00
Tim Graham 7de55fa68e [1.7.x] Fixed #23403 -- Fixed crash in contrib.sitemaps if lastmod returned a date rather than datetime.
Thanks igorcc for the report and Preston Timmons for review.

Backport of 66580fe97c from master
2014-09-11 16:15:03 -04:00
Gabe Jackson d321218a52 [1.7.x] Added link to LogRecord attributes in logging.txt
Backport of c5b4145fca from master
2014-09-11 15:42:40 -04:00
Tim Graham a358e8dc44 [1.7.x] Added some items to the 1.7.1 release notes.
Backport of cc5e81c46d from master
2014-09-10 13:26:01 -04:00
Tim Graham 4500784b24 [1.7.x] Avoided using deprecated version of importlib; refs #23418.
Backport of fbeb7979ee from master
2014-09-10 13:10:39 -04:00
Tim Graham ac54e6af95 [1.7.x] Corrected indentation in a contrib.humanize test; refs #23340.
Thanks Zach Borboa for the report.

Backport of 96010ae15b from master
2014-09-10 12:27:11 -04:00
Tim Graham 2e749f247c [1.7.x] Fixed typo in topics/forms/formsets.txt
Backport of e265112cd1 from master
2014-09-10 11:17:54 -04:00
Markus Bertheau 35cd0854f9 [1.7.x] Corrected grammar in migrations error message.
Backport of 61f56e239f from master
2014-09-10 10:34:32 -04:00
Markus Holtermann 67872bfff1 [1.7.x] Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.
Thanks fwkroon for the report.

Backport of 6d5958c7a3 from master
2014-09-10 07:57:31 -04:00