Commit graph

25181 commits

Author SHA1 Message Date
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
Tomáš Ehrlich
3cdc88ba53 [2.0.x] Fixed #29172 -- Fixed crash with Window expression in a subquery.
Backport of fa352626c2 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 19b2dfd1bf.

Backport of 54f80430be from master
2018-02-28 18:10:58 +01:00
René Fleschenberg
c50b9c33f0 [2.0.x] Fixed incorrect regex in re_path() example.
Backport of 6e52e2554d from master
2018-02-26 20:00:29 -05:00
Jon Dufresne
484d2a6894 [2.0.x] Added backticks around obj argument in admin docs.
Backport of f5c6fc045a from master
2018-02-22 11:15:27 -05:00
Roger Erens
35cbb0baf4 [2.0.x] Used a CSS positioning in tutorial 6 that doesn't differ across browsers.
Otherwise in Firefox, the <html> and <body> elements take just as much height
is needed for the content and so the image doesn't appear at the bottom of the
window.

Backport of a94fd8a8d9 from master
2018-02-21 12:07:41 -05:00
Seohong Park
ea0dc5df09 [2.0.x] Fixed #29146 -- Readded ^ and $ inadvertently removed from re_path() examples.
Backport of 9716860596 from master
2018-02-20 21:31:52 -05:00
Tim Graham
0993aee31d [2.0.x] Removed blank lines per isort 4.3.0. 2018-02-20 08:48:55 -05:00
Tim Graham
4b8e433e1c [2.0.x] Fixed #29126 -- Doc'd the behavior of QuerySet.update_or_create() with manually specified pks.
Backport of e917ea6bec from master
2018-02-15 13:41:33 -05:00
Tim Graham
fd18345e10 [2.0.x] Refs #29125 -- Made Q.deconstruct() omit 'query_utils' in the path and _connector='AND' since it's a default value.
Backport of 9ba3df8240 from master
2018-02-12 20:47:58 -05:00
Tim Graham
aeb35548dc [2.0.x] Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword arguments.
Backport of b95c49c954 from master
2018-02-12 20:47:51 -05:00
Carlton Gibson
0edcc723e7 [2.0.x] Fixed #24270 -- Doc'd that django_bash_completion is only in the source distribution.
Backport of 43b148f41f from master
2018-02-12 09:43:20 -05:00
Tim Graham
906b42c121 [2.0.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a428 from master
2018-02-12 09:37:57 -05:00
Raphael Gaschignard
9b5ba2168c [2.0.x] Fixed #29118 -- Fixed crash with QuerySet.order_by(Exists(...)).
Backport of bf26f66029 from master
2018-02-10 19:00:37 -05:00
Manatsawin Hanmongkolchai
a1286b5a64 [2.0.x] Fixed #29109 -- Fixed the admin time picker widget for the Thai locale.
Backport of 1a1264f149 from master
2018-02-10 16:06:03 -05:00
Tim Graham
7b20d01a84 [2.0.x] Switched test requirement to new psycopg2-binary package.
Backport of d4373b6da4 from master
2018-02-08 20:22:20 -05:00
Tim Graham
29dd7dcdfd [2.0.x] Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form.
Backport of ff61a25081 from master
2018-02-08 10:10:47 -05:00
Simon Charette
8d03356d35 [2.0.x] Fixed #29108 -- Fixed crash in aggregation of distinct+ordered+sliced querysets.
Regression in 4acae21846.
Thanks Stephen Brooks for the report.

Backport of d61fe24601 from master
2018-02-08 10:00:12 -05:00
Sergey Fedoseev
781a337242 [2.0.x] Fixed typo in bulk_create() documentation.
Backport of 01bfa9219b from master
2018-02-08 11:37:11 +01:00
Simon Charette
58ad942736 [2.0.x] Added stub release notes for 2.0.3.
Backport of 7515e1f3fc from master
2018-02-05 10:13:07 -05:00
Tim Graham
ab505a272f [2.0.x] Added CVE-2018-6188 to the security release archive.
Backport of 66119ed642 from master
2018-02-01 10:16:35 -05:00
Tim Graham
b91ff0b20d [2.0.x] Post-release version bump. 2018-02-01 09:46:47 -05:00
Tim Graham
e9f9915ba8 [2.0.x] Bumped version for 2.0.2 release. 2018-02-01 09:25:52 -05:00
Tim Graham
c37bb28677 [2.0.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8 (refs #28645).

This is a security fix.
2018-02-01 09:13:59 -05:00
Tim Graham
1bd45e2458 [2.0.x] Fixed #29094 -- Fixed crash when entering an invalid uuid in ModelAdmin.raw_id_fields.
Regression in 2f9861d823.

Thanks Carel Burger for the report and fix.

Backport of 552abffab1 from master
2018-02-01 08:46:13 -05:00
Rodrigo
6cbb9b4096 [2.0.x] Disambiguated "settings" in SpatiaLite note.
Backport of 4fe0e619e7 from master
2018-01-31 12:40:51 -05:00
Rodrigo
7ea392a974 [2.0.x] Doc'd specifying the ENGINE setting as part of configuring contrib.gis.
Backport of 9817add9e0 from master
2018-01-31 12:09:43 -05:00