Commit Graph

25208 Commits

Author SHA1 Message Date
Tim Graham 75a4576e5f [2.0.x] Fixed schema test failure when running tests in reverse.
Follow up to 003334f8af.

Backport of 78f8b80f9b from master
2018-04-12 20:21:06 -04:00
Paul Donohue 1ed31efb87 [2.0.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
Backport of 33a0b7ac81 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 c3e0adcad8.

Backport of ee17bb8a67 from master
2018-04-11 23:17:37 -04:00
Jeremy Bowman 95e1191690 [2.0.x] Tested altering a unique field when a reverse M2M relation exists.
Backport of 003334f8af from master
2018-04-11 23:17:30 -04:00
Luoxzhg f395b7653d [2.0.x] Fixed typo in docs/topics/db/managers.txt.
Backport of 99539ca319 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 2919a08c20 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 9d7e2c7b44 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 65c44a5c1d from master
2018-04-10 09:58:40 -04:00
Tim Graham f185a1fca0 [2.0.x] Updated intersphinx_mapping URL for sphinx.
Backport of cf8fc47974 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 4fe5d84666 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 b2678468ae from master
2018-04-04 09:46:54 -04:00
Daniel Roseman 18eaf0997b [2.0.x] Fixed reference to nonexistent __between lookup.
Backport of e6c21217d3 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 87639adcd1 from master
2018-04-02 23:05:58 -04:00
Tim Graham c745503eb3 [2.0.x] Post-release version bump. 2018-04-02 22:40:19 -04:00
Tim Graham 1858aa7156 [2.0.x] Bumped version for 2.0.4 release. 2018-04-02 22:35:14 -04:00
Tim Graham 90b0de1588 [2.0.x] Added release date for 2.0.4 and 1.11.12.
Backport of 597aba6d67 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 6ecccad711.

Backport of 2a2ed0e70a 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 09c6d01461 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 b52c73008a.

Backport of f3b69f9757 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 058f607518 from master
2018-03-31 19:34:07 -04:00
Tim Graham 7b1a7d8989 [2.0.x] Fixed links to Sphinx docs.
Backport of 73cb62a331 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 ba5f24ea64 from master
2018-03-28 12:35:21 -04:00
AK 9fc5a1fa0c [2.0.x] Added a pagination example to ListView docs.
Backport of 3990d74018 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 ee7f51c66d from master
2018-03-22 21:36:43 -04:00
Melissa Lewis ba483c346b [2.0.x] isorted import statements in tutorial example.
Backport of d97cce3409 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 c2962d8147. 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 0c100f8b57 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 abe6c5defe 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 1834490a0c 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 a0c03c62a8 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 8d67c7cffd 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 aeb8c38178 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 a2f7433adc 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 22bcd3a1d8 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 e17088a108 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 e0eab28f9f 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 08654a99bb.

Thanks Oli Warner for the detailed report.

Backport of 277ed07209 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 fd9398816e 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 8411e4a8fe 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 f0d6f01fbe 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 5bbbdd26d1 from master
2018-03-06 13:04:28 -05:00
Tim Graham efa0ddab02 [2.0.x] Post-release version bump. 2018-03-06 09:40:58 -05:00
Tim Graham 2d73ffc6f9 [2.0.x] Bumped version for 2.0.3 release. 2018-03-06 08:58:40 -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 84398897a7 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 939e0a5995 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 40bac28faa from master
2018-03-02 11:48:43 -05:00