10392 Commits

Author SHA1 Message Date
Tim Graham
0d2ec8db48 [2.0.x] Fixed #29174, #29175 -- Doc'd that f-strings and JavaScript template strings can't be translated.
Backport of c3437f734d03d93f798151f712064394652cabed from master
2018-04-18 14:35:50 +02:00
Brett Cannon
b98fa241dd [2.0.x] Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.
Backport of 64b74804c537b12d4cca64f7cb529c0478b4c4d9 from master
2018-04-17 20:56:33 -04:00
Mariusz Felisiak
3619d32209
[2.0.x] Fixed #29286 -- Fixed column mismatch crash with QuerySet.values() or values_list() after combining an annotated and unannotated queryset with union(), difference(), or intersection().
Regression in a0c03c62a8ac586e5be5b21393c925afa581efaf.

Thanks Tim Graham and Carlton Gibson for reviews.
Backport of 0b66c3b442875627fa6daef4ac1e90900d74290b from master
2018-04-13 12:27:00 +02:00
Paul Donohue
1ed31efb87 [2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
2018-04-12 13:11:53 -04:00
Jeremy Bowman
d5018abf1c [2.0.x] Fixed #29193 -- Prevented unnecessary foreign key drops when altering a unique field.
Stopped dropping and recreating foreign key constraints on other fields
in the same table as the one which is actually being altered in an
AlterField operation.

Regression in c3e0adcad8d8ba94b33cabd137056166ed36dae0.

Backport of ee17bb8a67a9e7e688da6e6f4b3be1b3a69c09b0 from master
2018-04-11 23:17:37 -04:00
Luoxzhg
f395b7653d [2.0.x] Fixed typo in docs/topics/db/managers.txt.
Backport of 99539ca319eb5f5fe6486c4a699f5f40da76f8e4 from master
2018-04-11 22:26:51 -04:00
Tim Graham
2e7b1e3297 [2.0.x] Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards incompatible change.
Backport of 2919a08c20d5ae48e381d6bd251d3b0d400d47d9 from master
2018-04-10 13:27:06 -04:00
Luoxzhg
7e5a72dde4 [2.0.x] Fixed mistakes in docs/topics/db/examples/many_to_one.txt.
Backport of 9d7e2c7b447b2bbabe746770ebd26465cc564f05 from master
2018-04-10 12:29:48 -04:00
Alasdair Nicol
0eb71b85bf [2.0.x] Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.
Thanks erindy for the report.

Backport of 65c44a5c1d5412d402af19480e3c1c3e3e88893a from master
2018-04-10 09:58:40 -04:00
Tim Graham
f185a1fca0 [2.0.x] Updated intersphinx_mapping URL for sphinx.
Backport of cf8fc4797458b2c788ecf0be0afca6b0512ce1c0 from master
2018-04-04 11:43:57 -04:00
Windson yang
a390cc7109 [2.0.x] Fixed #29278 -- Doc'd that a context manager can't be used with FileResponse.
Backport of 4fe5d846666d46a5395a5f0ea2845a96b6837a75 from master
2018-04-04 10:19:12 -04:00
Tim Graham
e2b7ad4357 [2.0.x] Added stub release notes for 1.11.13.
Backport of b2678468aee3526ec2d092a2f20b1d12b15ba12f from master
2018-04-04 09:46:54 -04:00
Daniel Roseman
18eaf0997b [2.0.x] Fixed reference to nonexistent __between lookup.
Backport of e6c21217d3c79a507ebab290ba41116407dd7f2a from master
2018-04-04 09:43:51 -04:00
Tim Graham
36b399d6b3 [2.0.x] Added stub release notes for 2.0.5.
Backport of 87639adcd17c9478373e1c6dac384d87171c8f5c from master
2018-04-02 23:05:58 -04:00
Tim Graham
90b0de1588 [2.0.x] Added release date for 2.0.4 and 1.11.12.
Backport of 597aba6d6762f1507aaad1a8caa59def0e1f1871 from master
2018-04-02 21:37:35 -04:00
Claude Paroz
357a48368a [2.0.x] Fixed #29116 -- Fixed OpenLayersWidget deserialization ignoring the widget map's SRID.
Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.

Backport of 2a2ed0e70a93bfd1a3d41af40870fe963dc2687d from master
2018-04-02 10:31:39 -04:00
Tim Graham
ddc13926e1 [2.0.x] Fixed typo in docs/releases/2.0.4/1.11.12.txt.
Backport of 09c6d0146178d83b6bd6cc8bb4162a5ae7c1c5f5 from master
2018-04-02 09:38:28 -04:00
Claude Paroz
160829d35b [2.0.x] Fixed #29273 -- Prevented initial selection of empty choice in multiple choice widgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of f3b69f9757ec03057441ebbd52b7cdbfed31fb32 from master.
2018-04-02 09:17:38 -04:00
Wim Feijen
327882a245 [2.0.x] Clarified a sentence in docs/topics/i18n/translation.txt.
Backport of 058f607518ef985770084ac68580063cafe2c144 from master
2018-03-31 19:34:07 -04:00
Tim Graham
7b1a7d8989 [2.0.x] Fixed links to Sphinx docs.
Backport of 73cb62a33197652a3c8261dbf052d7eb75e26139 from master
2018-03-30 14:59:57 -04:00
Tim Graham
a3007ecf35 [2.0.x] Fixed #29265 -- Removed the suggestion to hardcode static URLs.
Backport of ba5f24ea6491780bb245ed6f0e5f015f4defffe9 from master
2018-03-28 12:35:21 -04:00
AK
9fc5a1fa0c [2.0.x] Added a pagination example to ListView docs.
Backport of 3990d740180bc49a1479b8a2918b0878df65518a from master
2018-03-26 12:41:30 -04:00
Graham Ullrich
0118a2113d [2.0.x] Fixed #29250 -- Added 'django_version' context to startapp/project docs.
Backport of ee7f51c66dfc1700ff065dfeb5fe2388cc2e9619 from master
2018-03-22 21:36:43 -04:00
Melissa Lewis
ba483c346b [2.0.x] isorted import statements in tutorial example.
Backport of d97cce34096043b019e818a7fb98c0f9f073704c from master
2018-03-22 14:03:59 +01:00
Tim Graham
43348e4aa1 Reverted "[2.0.x] Expanded docs for AbstractBaseUser.has_usable_password()."
This reverts commit c2962d8147380b00bb965c0d42b7e05ca4596868. After discussion
in refs #28718, the decision is to treat the reverted statements as bugs.
2018-03-21 20:05:22 -04:00
Alasdair Nicol
7f7bb1d1f4 [2.0.x] Clarified docs about ISO 8601 week numbering.
Backport of 0c100f8b57213dc41e23a280ca14f155eea576db from master
2018-03-21 20:01:00 -04:00
Jezeniel Zapanta
83362cb94a [2.0.x] Fixed #28514 -- Clarifed docs about idempotence of RelatedManager.add().
Backport of abe6c5defefc7057e7fb5f47b79643f7b89f7d90 from master
2018-03-20 21:42:53 -04:00
Tim Graham
0cae6069dc [2.0.x] Fixed typo in docs/releases/2.0.4.txt. 2018-03-20 20:49:09 -04:00
Denis
50fd5f5774 [2.0.x] Refs #11278 -- Clarified RelatedManager differences between reverse one-to-many and many-to-many relations.
Backport of 1834490a0c45a87b718c9ee84523a6d7ec6c15ee from master
2018-03-20 20:44:08 -04:00
Amr Anwar
9123fd75ca [2.0.x] Fixed #29229 -- Fixed column mismatch crash when combining two annotated values_list() querysets with union(), difference(), or intersection().
Regression in 7316720603821ebb64dfe8fa592ba6edcef5f3e.

Backport of a0c03c62a8ac586e5be5b21393c925afa581efaf from master
2018-03-19 21:05:59 -04:00
Tim Graham
80cd6fd55a [2.0.x] Added stub release notes for 1.11.12.
Backport of 8d67c7cffdcd5fd0c5cb0b87cd699a05b461e58d from master
2018-03-19 09:53:44 -04:00
Mattia Procopio
72667bc6ee [2.0.x] Fixed #29206 -- Fixed PasswordResetConfirmView crash when the URL contains a non-UUID where one is expected.
Backport of aeb8c381789ad93866223f8bd07d09ae5e2edd9e from master
2018-03-15 21:42:47 -04:00
Artem Tabolin
9bf8664bfd [2.0.x] Fixed #29221 -- Corrected admin's autocomplete widget to add a space after custom classes.
Backport of a2f7433adc610cb0a85b3e23a1fec2267591f866 from master
2018-03-15 10:56:06 -04:00
ovalseven8
24066cc430 [2.0.x] Fixed #29192 -- Corrected docs regarding overriding fields from abstract base classes.
Backport of 22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd from master
2018-03-13 13:55:57 -04:00
dzhuang
59f39ccad8 [2.0.x] Fixed #29213 -- Fixed autocomplete widget's translations for zh-hans/zh-hant.
Backport of e17088a108e604cad23b000a83189fdd02a8a2f9 from master
2018-03-13 11:09:31 -04:00
Daniel Musketa
172e5132ba [2.0.x] Fixed a couple mistakes in docs/ref/forms/widgets.txt.
Backport of e0eab28f9f3440f68c5ed318554e3537976b816f from master
2018-03-12 09:40:48 -04:00
Simon Charette
0fd21febe7 [2.0.x] Fixed #29195 -- Fixed Exists.output_field resolution on single-valued queries.
The Subquery class which Exists inherits from defaulted to using single-valued
querie's field if no output_field was explicitly specified on initialization
which was bypassing the Exists.output_field defined at the class level.

Moving Subquery's dynamic output_field resolution to _resolve_output_field
should make sure the fallback logic is only performed if required.

Regression in 08654a99bbdd09049d682ae57cc94241534b29f0.

Thanks Oli Warner for the detailed report.

Backport of 277ed072094ad87fc6b2c4669f21d43b1f39043c from master
2018-03-08 14:06:10 -05:00
Tim Graham
8d3bd724ab [2.0.x] Fixed #29165 -- Clarified how to load initial data with migrations.
Backport of fd9398816e14554b52362f1152349da832fab4b1 from master
2018-03-08 10:58:35 -05:00
Richard Oyudo
564847fc1f [2.0.x] Fixed #28655 -- Added more examples for customizing widgets in a form.
Backport of 8411e4a8fe98ebac4327ee43446a25873703a5e8 from master
2018-03-07 16:59:15 -05:00
Tim Graham
e537bf86f0 [2.0.x] Added stub release notes for 2.0.4.
Backport of f0d6f01fbe171f4599fd13e34ccff0a5af653e90 from master
2018-03-06 13:26:24 -05:00
Tim Graham
7636aca677 [2.0.x] Added CVE-2018-7536,7 to the security release archive.
Backport of 5bbbdd26d1ea4f3bb164ad64b0d0d458d8bfdd02 from master
2018-03-06 13:04:28 -05:00
Tim Graham
94c5da1d17 [2.0.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
Thanks James Davis for suggesting the fix.
2018-03-06 08:52:23 -05:00
Tim Graham
e157315da3 [2.0.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and urlizetrunc template filters.
Thanks Florian Apolloner for assisting with the patch.
2018-03-06 08:52:23 -05:00
Tim Graham
2da0064476 [2.0.x] Added stub release notes for security releases. 2018-03-06 08:52:15 -05:00
jblang94
99a6a6b176 [2.0.x] Improved clarity of docs/topics/install.txt.
Backport of 84398897a72c051b294d334afff5613e0e08769e from master
2018-03-05 10:36:26 -05:00
Daniel Hahler
da71f2ca92 [2.0.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 939e0a5995357ad0597565ad19a8d99216fa14e4 from master
2018-03-02 14:48:02 -05:00
Christophe Mehay
e91ff6e29c [2.0.x] Fixed #29176 -- Fixed AbstractBaseUser.normalize_username() crash if username isn't a string.
Backport of 40bac28faabbacd0875e59455cd80fb1dbb16966 from master
2018-03-02 11:48:43 -05:00
Tomáš Ehrlich
3cdc88ba53 [2.0.x] Fixed #29172 -- Fixed crash with Window expression in a subquery.
Backport of fa352626c2a80bcdcd0fc6492b5fd5130490f05e from master
2018-03-01 10:51:54 -05:00
Claude Paroz
2126e9317e [2.0.x] Updated translations from Transifex 2018-02-28 20:05:45 +01:00
Mariusz Felisiak
10a20e4b37
[2.0.x] Fixed #29166 -- Fixed crash in When() expression with a list argument.
Thanks Matthew Pava for the report and Tim Graham and Carlton Gibson for
reviews.
Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f.

Backport of 54f80430be4a9adf1fc00b4ca17547415fafc69b from master
2018-02-28 18:10:58 +01:00