10040 Commits

Author SHA1 Message Date
Mariusz Felisiak
f89b11b879
[1.11.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:54:32 +02:00
Paul Donohue
979253fce9 [1.11.x] Fixed #29296 -- Fixed crashes in admindocs when a view is a callable object.
Backport of 33a0b7ac815588ed92dca215e153390af8bdbdda from master
2018-04-12 13:28:29 -04:00
Jeremy Bowman
8f76939f54 [1.11.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:24:42 -04:00
Tim Graham
0037cd1fa0 [1.11.x] Refs #28062 -- Doc'd PostgreSQL server-side cursors as a backwards incompatible change.
Backport of 2919a08c20d5ae48e381d6bd251d3b0d400d47d9 from master
2018-04-10 13:27:13 -04:00
Luoxzhg
4aa097e94e [1.11.x] Fixed mistakes in docs/topics/db/examples/many_to_one.txt.
Backport of 9d7e2c7b447b2bbabe746770ebd26465cc564f05 from master
2018-04-10 12:30:45 -04:00
Tim Graham
d2906d7c17 [1.11.x] Added stub release notes for 1.11.13.
Backport of b2678468aee3526ec2d092a2f20b1d12b15ba12f from master
2018-04-04 09:47:02 -04:00
Daniel Roseman
2e9d9dd6b1 [1.11.x] Fixed reference to nonexistent __between lookup.
Backport of e6c21217d3c79a507ebab290ba41116407dd7f2a from master
2018-04-04 09:44:01 -04:00
Tim Graham
c659625a69 [1.11.x] Added release date for 1.11.12.
Backport of 597aba6d6762f1507aaad1a8caa59def0e1f1871 from master
2018-04-02 21:39:03 -04:00
Tim Graham
4e89bbe4a9 [1.11.x] Fixed typo in docs/releases/1.11.12.txt.
Backport of 09c6d0146178d83b6bd6cc8bb4162a5ae7c1c5f5 from master
2018-04-02 09:39:04 -04:00
Claude Paroz
b25433a225 [1.11.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:27:01 -04:00
Tim Graham
a73a9cf60a [1.11.x] Fixed links to Sphinx docs.
Backport of 73cb62a33197652a3c8261dbf052d7eb75e26139 from master
2018-03-30 15:02:23 -04:00
Amr Anwar
c5bb472095 [1.11.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:06:40 -04:00
Tim Graham
cd4275f8d7 [1.11.x] Added stub release notes for 1.11.12.
Backport of 8d67c7cffdcd5fd0c5cb0b87cd699a05b461e58d from master
2018-03-19 09:53:51 -04:00
ovalseven8
fbae9c0e02 [1.11.x] Fixed #29192 -- Removed inaccurate statement regarding overriding fields from abstract base classes.
Partial backport of 22bcd3a1d88add6e4cf2c4451ede8d1ae142dedd from master
2018-03-13 13:56:50 -04:00
Tim Graham
c8e5c1f420 [1.11.x] Added CVE-2018-7536,7 to the security release archive.
Backport of 5bbbdd26d1ea4f3bb164ad64b0d0d458d8bfdd02 from master
2018-03-06 13:04:55 -05:00
Tim Graham
a91436360b [1.11.x] Fixed CVE-2018-7537 -- Fixed catastrophic backtracking in django.utils.text.Truncator.
Thanks James Davis for suggesting the fix.
2018-02-27 13:56:26 -05:00
Tim Graham
abf89d729f [1.11.x] Fixed CVE-2018-7536 -- Fixed catastrophic backtracking in urlize and urlizetrunc template filters.
Thanks Florian Apolloner for assisting with the patch.
2018-02-27 13:54:19 -05:00
Tim Graham
7d7ab26bc0 [1.11.x] Added stub release notes for security releases. 2018-02-24 19:40:33 -05:00
Tim Graham
4b65fc807a [1.11.x] Corrected doc'd type of some parameters from string to str.
Backport of d63c00a4283ce85622ec00c6f668630078c75817 from master
2018-02-19 13:17:20 -05:00
Tim Graham
01448a97e0 [1.11.x] Added CVE-2018-6188 to the security release archive.
Backport of 66119ed64233c3abe586606a9e81a75edc2a6a92 from master
2018-02-01 10:16:48 -05:00
Tim Graham
57b95fedad [1.11.x] Fixed CVE-2018-6188 -- Fixed information leakage in AuthenticationForm.
Reverted 359370a8b8ca0efe99b1d4630b291ec060b69225 (refs #28645).

This is a security fix.
2018-02-01 09:18:33 -05:00
Tim Graham
1c9233b1b9 [1.11.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 docs552abffab16cbdff571486b683e7e7ef12e46066 from master
2018-02-01 08:56:52 -05:00
Rodrigo
a0c2e3fde7 [1.11.x] Fixed location of spatialite_source label.
Backport of 7c5cf331278407ab87737d10a1b2e722c0e666b0 from master
2018-01-31 11:28:32 -05:00
Tim Graham
4430b83e4b [1.11.x] Fixed #29071 -- Fixed contrib.auth.authenticate() crash if a backend doesn't accept a request but a later one does.
Regression in a3ba2662cdaa36183fdfb8a26dfa157e26fca76a.

Backport of 55e16f25e9d2050e95e448f9ab2e4b9fc845a9e5 from stable/2.0.x
2018-01-31 09:27:21 -05:00
Mariusz Felisiak
649d5eaa8b [1.11.x] Fixed #29032 -- Fixed an example of using expressions in QuerySet.values().
Backport of 7fbb1bd00d8a3e9a834de83d36ebcbff15c18938 from master
2018-01-19 08:58:46 +01:00
Peter Wischer
de1520ec20 [1.11.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a230bba8f2f1b2021c383eb2744e8df41 from master
2018-01-17 08:54:20 +01:00
Étienne Loks
419705bbe8 [1.11.x] Fixed #29016 -- Fixed incorrect foreign key nullification on related instance deletion.
Backport of 9a621edf624a4eb1f1645fca628a9e432f0de776 from master
2018-01-13 10:33:24 -05:00
Tim Graham
fb56038723 [1.11.x] Added stub release notes for 1.11.10.
Backport of cea5fe94c6bb1b61e791f1375c246566c950b3e3 from master
2018-01-13 09:52:34 -05:00
Tim Graham
ced0b1edef [1.11.x] Fixed #29017 -- Updated BaseCommand.leave_locale_alone doc per refs #24073.
Backport of b9cec9fa1fc50207ab68a59853c851a945c5db5e from master
2018-01-12 18:32:14 -05:00
Tim Graham
bb39e4b57e [1.11.x] Fixed #29002 -- Corrected cached template loader docs about when it's automatically enabled.
Thanks oTree-org for the suggestion.

Backport of 7c00f9fb1cc47e1c993f7728e2b592a1be29dd40 from master
2018-01-11 06:53:20 -05:00
Tim Graham
2e5be68b9c [1.11.x] Added release date for 1.11.9.
Backport of 3ae2bcc7689bb912399c08329d2baa4b5d8bd6b2 from master
2018-01-01 19:35:33 -05:00
Morgan Wahl
3522203502 [1.11.x] Refs #28856 -- Fixed caching of a GenericForeignKey pointing to a model that uses more than one level of MTI. 2017-12-07 09:34:54 -05:00
Mariusz Felisiak
1decd0197d [1.11.x] Refs #28876 -- Fixed incorrect foreign key constraint name for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of fc48047586a8f92262f55d9d2bfb976325844b23 from master
2017-12-05 22:52:42 +01:00
Mariusz Felisiak
3e52fd7595 [1.11.x] Refs #28876 -- Fixed incorrect class-based model index name generation for models with quoted db_table.
Thanks Simon Charette and Tim Graham for the review and Carlos E. C.
Leite for the report.

Backport of f79d9a322c6008e5fada1453aebfb56afc316cc8 from master
2017-12-05 22:42:58 +01:00
Nick Pope
47681af344 [1.11.x] Fixed #28890 -- Removed newlines between MultiWidget's subwidgets.
Regression in b52c73008a9d67e9ddbb841872dc15cdd3d6ee01.

Backport of e014f91a70aa3ccdddb363a733c76e35597424fa from master
2017-12-05 11:44:39 -05:00
Tim Graham
9ca5ff7996 [1.11.x] Added stub release notes for 1.11.9.
Backport of dfeb19121b40cadd22b81c4b9d0373d617a695ed from master
2017-12-05 10:55:45 -05:00
Sergey Fedoseev
9a64da9399 [1.11.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 3922f02dc6b10a3268a710a2837027d3999957a3 from master
2017-12-04 12:00:34 +01:00
Tim Graham
cd91f4fe62 [1.11.x] Added release date for 1.11.8.
Backport of 335aad5d9170b3e3807ebd35a7dd74800df03588 from master
2017-12-02 08:56:32 -05:00
Tim Graham
b8a2f3c2d6 [1.11.x] Fixed #28305 -- Fixed "Cannot change column 'x': used in a foreign key constraint" crash on MySQL with a sequence of AlterField or RenameField operations.
Regression in 45ded053b1f4320284aa5dac63052f6d1baefea9.

Backport of c3e0adcad8d8ba94b33cabd137056166ed36dae0 from master
2017-12-01 19:09:36 -05:00
Simon Charette
f319e7abad [1.11.x] Fixed #28856 -- Fixed a regression in caching of a GenericForeignKey pointing to a MTI model.
Regression in b9f8635f58ad743995cad2081b3dc395e55761e5.

Backport of d31424fec1a3de9d281535c0503644a9d7b93c63 from stable/2.0.x
2017-11-30 10:45:20 -05:00
Mads Jensen
3545e84488 [1.11.x] Fixed #28702 -- Made query lookups for CIText fields use citext.
Backport of f0a68c25118786d47041d0a435b2afa953be3c86 from master
2017-11-29 11:12:07 -05:00
Raphael Michel
899999db42 [1.11.x] Fixed #28848 -- Fixed SQLite/MySQL crash when ordering by a filtered subquery that uses nulls_first/nulls_last.
Backport of 616f468760e4984915bb2ccca6b9eb3d80ddadb0 from master
2017-11-27 11:40:09 -05:00
Luke Plant
a09e974688 [1.11.x] Linked to prefetch_related_objects func in DB optimization docs.
Backport of e283c1a from master
2017-11-23 21:36:38 +03:00
Hyunwoo Park
be45c90ce3 [1.11.x] Fixed typo in docs/topics/forms/media.txt.
Backport of 3f237c1a5b936a9b85304cffbf3343f491e395d6 from master
2017-11-22 07:48:18 -05:00
Dražen Odobašić
7f4e174511 [1.11.x] Fixed #28817 -- Made QuerySet.iterator() use server-side cursors after values() and values_list().
Backport of d97f026a7ab5212192426e45121f7a52751a2044 from master
2017-11-21 10:45:02 -05:00
Tim Graham
18324f2e65 [1.11.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
2017-11-16 10:38:58 -05:00
Simon Charette
a35ab95ed4 [1.11.x] Fixed #28792 -- Fixed index name truncation of namespaced tables.
Refs #27458, #27843.

Thanks Tim and Mariusz for the review.

Backport of ee85ef8315db839e5723dea19d8b971420a2ebb4 from master
2017-11-14 22:06:30 -05:00
Tim Graham
afcde50497 [1.11.x] Fixed #28786 -- Doc'd middleware ordering considerations due to CommonMiddleware setting Content-Length.
Backport of bc95314ca6af0b5e993ae07fdc7d8e6166d3b8ca from master
2017-11-14 13:01:06 -05:00
Mariusz Felisiak
6731672060
[1.11.x] Fixed #28781 -- Added QuerySet.values()/values_list() support for union(), difference(), and intersection().
Thanks Tim Graham for the review.
Backport of 2d3cc94284674638c334670903d49565039d77ae from master
2017-11-12 14:33:41 +01:00
shanghui
308f644624 [1.11.x] Fixed #28645 -- Reallowed AuthenticationForm to raise the inactive user error when using ModelBackend.
Regression in e0a3d937309a82b8beea8f41b17d8b6298da2a86.

Thanks Guilherme Junqueira for the report and Tim Graham for the review.

Backport of 359370a8b8ca0efe99b1d4630b291ec060b69225 from master
2017-11-08 09:52:27 -05:00