Commit Graph

18377 Commits

Author SHA1 Message Date
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
Iain Dawson c2fe985733 [1.7.x] Fixed an instance of 'an' before a word beginning with a consonant.
Backport of ef8ef2a42d from master
2014-09-10 07:17:31 -04:00
Greg Brown 77ec85adae [1.7.x] Note re migrations importing custom fields
Backport of b4d486c80f from master
2014-09-09 20:10:00 -04:00
Aymeric Augustin c981d9140d [1.7.x] Fixed #22920 -- Avoid masking some exceptions.
If loading an application trigger an ImportError, the details of that
error were lost in some cases. Thanks Ben Davis for the report.

Backport of b161c01 from master
2014-09-09 20:54:07 +02:00
Tim Graham a8ded528b3 [1.7.x] Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.

Backport of c32bc1a7a7 from master
2014-09-09 11:07:41 -04:00
Sébastien Fievet 987fce90bf [1.7.x] Fixed missing trailing parenthesis in docs/releases/1.7.txt
Backport of e5ae03fd5a from master
2014-09-09 10:05:28 -04:00
Tim Graham 84b50718ab [1.7.x] Fixed #23350 -- Updated mod_wsgi auth example to use less memory.
Thanks Graham Dumpleton for the report.

Backport of c7f7432be5 from master
2014-09-09 09:32:59 -04:00
Tim Graham a0954a0681 [1.7.x] Fixed flake8 warning.
Backport of 5cba975d26 from master
2014-09-08 17:31:12 -04:00
Petras Zdanavičius a3e9e9e6c6 [1.7.x] Fixed #23451 -- Fixed typo in inlineformset_factory() error message.
Backport of f7eee04ebe from master
2014-09-08 17:22:49 -04:00
Markus Holtermann 1f1a329288 [1.7.x] Fixed broken test from da160d440f; refs #23418.
Backport of 16548cfc7c from master
2014-09-08 16:51:34 -04:00
Markus Holtermann b0def3bcac [1.7.x] Fixed #23418 -- Fail when migration deconstruct produces invalid import
Backport of d28b5f13b3 from master
2014-09-08 15:41:14 -04:00
Simon Charette 9c4fb019cb [1.7.x] Fixed #23431 -- Allowed inline and hidden references to admin fields.
This fixes a regression introduced by the 53ff096982 security fix.

Thanks to @a1tus for the report and Tim for the review.

refs #23329.

Backport of 342ccbddc1 from master
2014-09-08 13:54:21 -04:00
Octowl 813619405b [1.7.x] Fixed #23307 -- Clarified the way max_num limits the output of formsets.
Thanks velle for the report.

Backport of 5f3806b861 from master
2014-09-08 13:24:38 -04:00
Andrew Pinkham 27e7972e63 [1.7.x] Fixed #22951 -- Checked for types during deep_deconstruct migration serializ
Thanks Sam Hartsfield for the report.

Backport of 4680d25df2 from master
2014-09-08 07:58:06 -04:00
Sébastien Fievet 267b121b1e [1.7.x] Fixed typo in docs/howto/custom-lookups.txt.
Backport of f36ab2d3f2 from master
2014-09-07 06:29:52 -04:00