10364 Commits

Author SHA1 Message Date
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
René Fleschenberg
c50b9c33f0 [2.0.x] Fixed incorrect regex in re_path() example.
Backport of 6e52e2554dcc902b446f9d371ed1e6a07f36d6ec 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 f5c6fc045a1fbe2e7bbe026dc4f0c1b94b698ec7 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 a94fd8a8d9ee02f4abd872fb2b7509c19ac5d44e 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 97168605965143f02c27dac718b6b3e317a4be26 from master
2018-02-20 21:31:52 -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 e917ea6bec45d7f789ca96a13be15df9521963e1 from master
2018-02-15 13:41:33 -05:00
Tim Graham
aeb35548dc [2.0.x] Fixed #29125 -- Made Q.deconstruct() deterministic with multiple keyword arguments.
Backport of b95c49c954e3b75678bb258e9fb2ec30d0d960bb 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 43b148f41fa7a5c3f74e0198d9c72074abe9a9bc 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 d63c00a4283ce85622ec00c6f668630078c75817 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 bf26f66029bca94b007a2452679ac004598364a6 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 1a1264f1494976c562c7cb832fe47f3e1e765b8f from master
2018-02-10 16:06:03 -05:00
Tim Graham
29dd7dcdfd [2.0.x] Fixed #29107 -- Doc'd that ModelForm doesn't actually inherit from Form.
Backport of ff61a250815d32ff185501a5afef0245fec7d878 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 4acae21846f6212aa992763e587c7e201828d7b0.
Thanks Stephen Brooks for the report.

Backport of d61fe246015aa4fdc6dcb837ffb1442fa71ae586 from master
2018-02-08 10:00:12 -05:00
Sergey Fedoseev
781a337242 [2.0.x] Fixed typo in bulk_create() documentation.
Backport of 01bfa9219b921267a8b94ed77e5984f9ce15497a 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 7515e1f3fc710001734ff664efd87366d7973c63 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 66119ed64233c3abe586606a9e81a75edc2a6a92 from master
2018-02-01 10:16:35 -05:00
Tim Graham
c37bb28677 [2.0.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (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 2f9861d823620da7ecb291a8f005f53da12b1e89.

Thanks Carel Burger for the report and fix.

Backport of 552abffab16cbdff571486b683e7e7ef12e46066 from master
2018-02-01 08:46:13 -05:00
Rodrigo
6cbb9b4096 [2.0.x] Disambiguated "settings" in SpatiaLite note.
Backport of 4fe0e619e7241ed9e99ba7dee342a0785dd1f5d9 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 9817add9e014972e470326928f75b22520a77eb6 from master
2018-01-31 12:09:43 -05:00
Rodrigo
7c62f497da [2.0.x] Fixed location of spatialite_source label.
Backport of 7c5cf331278407ab87737d10a1b2e722c0e666b0 from master
2018-01-31 11:28:25 -05:00
Tim Graham
4e891a39b7 [2.0.x] Renamed the "Supported versions" label.
Backport of 4775dcb521f87694607c5a1fca052ffffc0bfcae from master
2018-01-31 10:18:15 -05:00
Tim Graham
834843ca4f [2.0.x] Fixed #29091 -- Fixed makemigrations crash if migrations directory doesn't have __init__.py.
Regression in aadd3aeb2ba3153e35bd805c80c901f289a6f333.

Backport of 0a37ea56d05208e31ed2f29fdffca65b6d92fa2e from master
2018-01-31 09:37:07 -05:00
Tim Graham
55e16f25e9 [2.0.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a backend doesn't accept a request but a later one does.
Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a.
2018-01-31 08:34:11 -05:00
Tim Graham
ddc49820f7 [2.0.x] Refs #29086 -- Doc'd how to detect bytestring mistakes.
Backport of c10cb9716f8fd7398a8206cd8b33ed2f03065f85 from master
2018-01-30 19:58:43 -05:00
Tim Graham
bbc4a5a792 [2.0.x] Fixed #29081 -- Clarified comments in QuerySet.select_related() example.
Backport of e6f0e324e28bc7d0c125415de871466aa1f4b983 from master
2018-01-29 12:37:05 -05:00
Tim Graham
c2962d8147 [2.0.x] Expanded docs for AbstractBaseUser.has_usable_password().
Backport of 92f48680dbd2e02f2b33f6ad0e35b7d337889fb2 from master
2018-01-27 11:29:57 -05:00
Tim Graham
ed206a9b99 [2.0.x] Fixed #29055 -- Doc'd that escapejs doesn't make template literals safe.
Backport of f229049d6cd186025f4033dc47608b0c9731e882 from master
2018-01-27 09:41:15 -05:00
Mariusz Felisiak
42622b8934
[2.0.x] Fixed #29054 -- Fixed a regression where a queryset that annotates with geometry objects crashes.
Made GEOSGeometryBase hashable.
Regression in 19b2dfd1bfe7fd716dd3d8bfa5f972070d83b42f.

Thanks Tim Graham for the review.
Backport of b002a032f90b8cd228cfcee6c88cd238a8191cc0 from master
2018-01-27 11:14:42 +01:00