25159 Commits

Author SHA1 Message Date
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
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 e917ea6bec45d7f789ca96a13be15df9521963e1 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 9ba3df82402e7e23b353da20aea6894935241ef9 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 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
7b20d01a84 [2.0.x] Switched test requirement to new psycopg2-binary package.
Backport of d4373b6da4b420fe9211438addeedb396a3821be 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 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
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. 2.0.2 2018-02-01 09:25:52 -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
14f1c4d435 [2.0.x] Wrapped an import per isort. 2018-01-30 19:54:04 -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
Jon Dufresne
61c74ae74f [2.0.x] Fixed #29067 -- Fixed regression in QuerySet.values_list(..., flat=True) followed by annotate().
Regression in 4dfd6b88d520b43b6363946e5ee58ba14cd1efe6.

Backport of 3187c89d6f8c60ca7e78093d5b37e0709e71cea9 from master
2018-01-26 10:22:14 -05:00
Senthil
d06381debc [2.0.x] Fixed #28784 -- Clarified how migrate --fake works.
Backport of cbac11f9624d529809e9bdaa7f4d3ab2c5e93009 from master
2018-01-24 15:25:26 -05:00
Ashaba
c6c73e3401 [2.0.x] Fixed #28403 -- Added missing formats in FORMAT_MODULE_PATH docs.
Backport of 95fd5cf459dd23d18e9ef8e1a03eb820fe7205ce from master
2018-01-24 14:48:39 -05:00
Tim Graham
f02c44396a [2.0.x] Fixed "template tag" spelling in docs.
Backport of f0f383b6350c7b2f64bb2a6491a395abdd3313d6 from master
2018-01-23 09:48:31 -05:00
Chris Jerdonek
b749c35618 [2.0.x] Refs #25604 -- Removed docs for makemigrations --exit.
Follow up to e0910dcc9283cd8f782cb97836c291f6f395f3f0.
Backport of b98dc1706e9c63a4cc7d061a3d8a95f6cbf5e950 from master
2018-01-20 10:45:10 -05:00
Mariusz Felisiak
c881c4f1f8 [2.0.x] Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
Backport of 7fbb1bd00d8a3e9a834de83d36ebcbff15c18938 from master
2018-01-19 08:57:28 +01:00
Peter Wischer
fbe7c8f413 [2.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a230bba8f2f1b2021c383eb2744e8df41 from master
2018-01-17 08:50:26 +01:00
Karmen
146317b734 [2.0.x] Fixed #28881 -- Doc'd that CommonPasswordValidator's password list must be lowercase.
Backport of 4fcd28d442c2fec56f544f99cb658f33f847824c from master
2018-01-15 10:36:31 -05:00
jaywelborn
e5acbbe18e [2.0.x] Fixed #28761 -- Documented how an inline formset's prefix works.
Backport of 56e590cc0be4d8c8b6fe0967583a6e02d18ee03e from master
2018-01-13 16:39:53 -05:00
Étienne Loks
8f2e3857ce [2.0.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion.
Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
2018-01-13 13:10:02 -05:00
Tim Graham
62236b514e [2.0.x] Added stub release notes for 1.11.10.
Backport of cea5fe94c6bb1b61e791f1375c246566c950b3e3 from master
2018-01-13 09:52:12 -05:00
Botond Béres
881f66bc55 [2.0.x] Fixed #28231 -- Doc'd that QuerySet.bulk_create() casts objs to a list.
Backport of 52aa26e6979ba81b00f1593d5ee8c5c73aaa6391 from master
2018-01-12 19:56:36 -05:00