3633 Commits

Author SHA1 Message Date
11bb365c7b Apply all patches up to CVE-2023-36053 2023-07-13 14:15:15 -07:00
Carlton Gibson
32124fc41e [1.11.x] Fixed CVE-2019-12781 -- Made HttpRequest always trust SECURE_PROXY_SSL_HEADER if set.
An HTTP request would not be redirected to HTTPS when the
SECURE_PROXY_SSL_HEADER and SECURE_SSL_REDIRECT settings were used if
the proxy connected to Django via HTTPS.

HttpRequest.scheme will now always trust the SECURE_PROXY_SSL_HEADER if
set, rather than falling back to the request scheme when the
SECURE_PROXY_SSL_HEADER did not have the secure value.

Thanks to Gavin Wahl for the report and initial patch suggestion, and
Shai Berger for review.

Backport of 54d0f5e62f54c29a12dd96f44bacd810cbe03ac8 from master.
2019-07-01 08:40:19 +02:00
Tim Graham
331d765281 [1.11.x] Refs #27807 -- Removed docs for User.username_validator.
The new override functionality claimed in refs #21379 doesn't work.
Forwardport of 714fdbaa7048c2321f6238d9421137c33d9af7cc from stable/1.10.x.
2019-04-07 20:09:15 -04:00
Mariusz Felisiak
d13490c18a
[1.11.x] Refs #30331 -- Doc'd that psycopg2 < 2.8 is required.
Backport of 0a8617a5b1cac7063f30e4d8ff4ea4c30748f7b8 from stable/2.1.x.
2019-04-05 12:13:05 +02:00
Mariusz Felisiak
11cb39514d
[1.11.x] Removed extra characters in docs header underlines.
Backport of 25829197bb94585e94695360065ac614aa9e6a56 from master
2019-02-08 21:44:04 +01:00
Tim Graham
951ee0b118 [1.11.x] Refs #30150 -- Doc'd that MySQL 8 isn't supported. 2019-02-01 08:32:42 -05:00
Tim Graham
2ea1e0e58d [1.11.x] Refs #30013 -- Doc'd that mysqlclient 1.3.14 and later isn't supported. 2018-12-05 15:51:04 -05:00
Mariusz Felisiak
006ca978b9
[1.11.x] Refs #29759 -- Doc'd that cx_Oracle < 7 is required.
Backport of 7085247e2fd1ad8b08103173a23ca730784765a3 from stable/2.0.x
2018-09-18 10:42:04 +02:00
Tim Graham
5bb00c01d6 [1.11.x] Fixed #29460 -- Added support for GEOS 3.6.
Backport of f185d929fa1c0caad8c03fccde899b647d7248c6 from master
2018-05-31 12:15:27 -04:00
Osaetin Daniel
10e6dd718d [1.11.x] Fixed docs typo in HttpResponse.set_signed_cookie() signature.
Backport of cd242d185bda9269913d4d101a7f704204ec907d from master
2018-05-27 16:52:11 -04:00
Daniel Hepper
1824656b10 [1.11.x] Removed docs for obsolete ExceptionMiddleware.
Backport of a6fb5b1fe022c5279aa275c70b5193f2a2fac5fe from master
2018-05-27 13:38:42 -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
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
Rodrigo
a0c2e3fde7 [1.11.x] Fixed location of spatialite_source label.
Backport of 7c5cf331278407ab87737d10a1b2e722c0e666b0 from master
2018-01-31 11:28:32 -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
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
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
Tim Graham
b0566e5bb3 [1.11.x] Fixed #28729 -- Replaced a numbered list with unordered list in TemplatesSetting docs.
Backport of eb9b56c5b60215a683c80e68f08ae6fca0ec24ef from master
2017-10-20 14:04:15 -04:00
Jozef
0f9de3976c [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 3bd69b126115102a4630354c876e6c7cc2d68f8f from master
2017-10-17 10:07:43 -04:00
Stefan Schneider
251190cc59 [1.11.x] Fixed #28653 -- Added missing ForeignKey.on_delete argument in docs.
Backport of 08c8c3ead97893ec0e1dece699525ad7ed27c2d7 from master
2017-09-29 11:38:47 -04:00
Tim Graham
a86d95726b [1.11.x] Fixed #28561 -- Removed inaccurate docs about QuerySet.order_by() and joins.
As of ccbba98131ace3beb43790c65e8f4eee94e9631c, both examples don't use
a join.

Backport of 44a6c27fd461e1d2f37388c26c629f8f170e8722 from master
2017-09-06 19:22:00 -04:00
Michael
ddea2166f1 [1.11.x] Fixed #28568 -- Fixed typo in docs/ref/models/database-functions.txt.
And made an example use naming consistent with the rest of the doc.

Backport of 3f2b1d926bb3a72b4c3d2cd958455ebb9b4ca458 from master
2017-09-04 14:41:17 -04:00
Simon Meers
07f73daf6b [1.11.x] Fixed #17985 -- Documented ModelAdmin.lookup_allowed().
Backport of 60443e84b38ea3a143b0ef9c05b1e1f39d91ddb5 from master
2017-09-02 14:09:49 -04:00
Nick Pope
1739ef7855 [1.11.x] Fixed #28525 -- Documented GDAL and GeoIP exceptions.
Backport of 11f4c52ec74ea5244bc5988f37cbfdce2586b642 from master
2017-09-02 09:27:19 -04:00
Tim Graham
d236f30237 [1.11.x] Fixed #28557 -- Fixed ForeignKey/OneToOneField/ManyToManyField argument name in docs.
Backport of 6e4a34580d05ca8036c2bc1f7a53558cdc0cc77f from master
2017-09-01 21:44:06 -04:00
Nick Pope
511dfb336f [1.11.x] Reordered GeoIP docs be consistent with GDAL/GEOS ordering.
Backport of cbb27d603b33192a4bb4bd506747c33084620d1a from master
2017-09-01 09:51:52 -04:00
Nick Pope
6346d64873 [1.11.x] Made GeoIP docs headers consistent with other GIS docs.
Backport of 49017dc13a20ad88c8df2375617287ee445c5d03 from master
2017-09-01 09:45:37 -04:00
jkrzy
046b8c80ce [1.11.x] Fixed #27701 -- Doc'd staticfiles runserver bypasses middleware when serving static files.
Backport of 20a761697fd28c08ab82dec777b4056a5bfaf6a2 from master
2017-08-30 21:31:09 -04:00
Jkrzy
10b54c8782 [1.11.x] Fixed #28548 -- Replaced 'middlewares' with 'middleware' in docs.
Backport of da3a5cee4f06ed801c6fb42bd8995428ff0b28bf from master
2017-08-30 06:26:04 -04:00
Claude Paroz
503b9ab7ad [1.11.x] Fixed #28532 -- Fixed typo in PostgreSQL field docs
Thanks Andreas Poisel for the report.
Backport of 3c0b2b80edbe744f45b59fa29219db4997d2a108 from master.
2017-08-26 10:22:45 +02:00
Mathieu Hinderyckx
1214e7c1b1 [1.11.x] Clarified Concat example in docs.
Backport of cf5740fbc8414ab722b938f92b4363ff00d8db88 from master
2017-08-14 14:57:34 -04:00
Bryan Helmig
93b53fb942 [1.11.x] Made the @cached_property example more consistent.
Backport of 68f0bcb012fefffcf94b25dedd02c061a7544041 from master
2017-08-11 10:14:08 -04:00
Tim Graham
479554f569 [1.11.x] Fixed #28471 -- Clarified that Meta.indexes is preferred to index_together.
Backport of d18227e341ed044980d02a1f65f3874166552ded from master
2017-08-08 09:48:21 -04:00
Tim Graham
05a828a1ae [1.11.x] Fixed #28466 -- Clarified the definition of a lazy relationship.
Backport of 50a97edc1a01f3d5325f0be1b91e7c77c3ba7dc0 from master
2017-08-07 15:53:44 -04:00
Tim Graham
020c1c4cc8 [1.11.x] Fixed #28415 -- Clarified what characters ASCII/UnicodeUsernameValidator accept.
Backport of 14172cf4426de6c867028f1c194011c0a26e662d from master
2017-07-27 08:45:59 -04:00
Tim Graham
7386029249 [1.11.x] Fixed #28435 -- Removed inaccurate warning about SECURE_HSTS_PRELOAD.
Backport of c7d58c6f43b2d1db5d01f32451bb9ce46d69c5eb from master
2017-07-25 15:28:54 -04:00
Tobias Schulmann
aef117eb2e [1.11.x] Fixed #28420 -- Doc'd 'is' comparison restriction for User.is_authenticated/anonymous. 2017-07-24 13:41:16 -04:00
Tomer Chachamu
a5e91ab1fb [1.11.x] Doc'd the need to remove default ordering on Subquery aggregates.
Backport of 62917cee5ac75693aa5d9a3de5d8935da2f011df from master
2017-07-18 13:11:26 -04:00
jmk
308945957c [1.11.x] Fixed 403 link in docs/ref/contrib/gis/install/spatialite.txt.
Backport of 841b4648839ce803b7cd5ca8d689fd488293efbd from master
2017-07-17 12:26:28 -04:00
Florian Apolloner
9350f77c69 [1.11.x] Fixed #28399 -- Fixed QuerySet.count() for union(), difference(), and intersection() queries.
Backport of adab280cefb15659c39558ac26ea392b0a1e456c from master
2017-07-15 09:10:42 -04:00
Irindu Indeera
fe7b456825 [1.11.x] Fixed #28352 -- Corrected QuerySet.values_list() return type in docs examples.
Backport of babe9e64a6172b09e7f70e8d8f01e67f2cb4176d and
2457c1866ef3586c56bd19aeaa554e78c1ed1875 from master
2017-07-11 14:23:22 -04:00
Mike Vasiliou
a6756195c1 [1.11.x] Fixed #28294 -- Doc'd request/args/kwargs attributes of class-based views.
Backport of 63e9a71ec4917ddf7f4acbf69a7ccdafb76fb2ee from master
2017-06-28 10:01:20 -04:00
Laura
a84b555eb5 [1.11.x] Fixed #28336 -- Fixed typo in docs/ref/settings.txt.
Backport of e58c87cb7042ba8ed1a33761ac2b6b4efed70b29 from master
2017-06-27 21:42:39 -04:00
Sergey Fedoseev
812b24e98e [1.11.x] Fixed GEOSGeometry reference in GIS tutorial.
Backport of 964e490847011ed7beb1639f35d62b210f1f5dda from master
2017-06-26 15:10:27 -04:00
aruseni
1de0da961e [1.11.x] Fixed typo in docs/ref/request-response.txt.
Backport of ad524980ac9644d5d40c2c79af3c183f4351841e from master
2017-06-20 11:22:38 -04:00
François Freitag
712ce47e1a [1.11.x] Fixed #18485 -- Doc'd behavior of PostgreSQL when manually setting AutoField.
Backport of 4f1eb64ad0bcebfae4075486855eb6b63355cc5a from master
2017-06-19 09:25:32 -04:00
Matthias Kestenholz
a1c6c220e2 [1.11.x] Fixed #27434 -- Doc'd how to raise a model validation error for a field not in a model form.
Backport of e8c056c31a5b353e7b50a405c00db12c28f4a756 from master
2017-06-13 20:47:58 -04:00
Tim Graham
48ce204488 [1.11.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 0877989c94130079930419e867ff55fa1fb4f5a0 from master
2017-06-09 12:48:46 -04:00
Tim Graham
109fd94c96 [1.11.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 108ff788cbcd0e1f492d1494dc95e7b2165340fd from master
2017-06-09 12:43:19 -04:00
Mads Jensen
319839d780 [1.11.x] Refs #25240 -- Added ExtractWeek examples.
Backport of 085c2f94ec0155417601a9750ad60bb93536e166 from master
2017-06-08 09:17:01 -04:00