Mariusz Felisiak
9ec6eca136
[3.0.x] Refs #31682 -- Doc'd minimal sqlparse version in Django 2.2.
...
Support for sqlparse < 0.2.2 was broken in
40b0a58f5ff949fba1072627e4ad11ef98aa7f36 because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4339f2aff272bceabd67e452c65bcfe0700b3f09 from master
2020-06-10 06:54:51 +02:00
Nicolas Baccelli
2b2500021b
[3.0.x] Fixed #31664 -- Reallowed using non-expressions having filterable attribute as rhs in queryset filters.
...
Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4.
Backport of b38d44229ff185ad156bcb443d6db0db7ae3eb98 from master
2020-06-08 09:20:08 +02:00
Mariusz Felisiak
be7a295141
[3.0.x] Fixed #31660 -- Fixed queryset crash when grouping by m2o relation.
...
Regression in 3a941230c85b2702a5e1cd97e17251ce21057efa.
Thanks Tomasz Szymański for the report.
Backport of 78ad4b4b0201003792bfdbf1a7781cbc9ee03539 from master
2020-06-08 07:23:33 +02:00
Mariusz Felisiak
e8723af44b
[3.0.x] Fixed #31654 -- Fixed cache key validation messages.
...
Backport of 926148ef019abcac3a9988c78734d9336d69f24e from master
2020-06-05 07:22:52 +02:00
Hasan Ramezani
b80c5baf29
[3.0.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
...
Backport of 55556e51fb152c864ddc782d9b56e8b785ccf8bc from master
2020-06-04 07:39:08 +02:00
David Smith
8ec607be84
[3.0.x] Updated How to install Django on Windows guide.
...
Backport of 25352dc019d175dfa6e62a50de76cb3614955077 from master
2020-06-03 16:29:30 +02:00
Carlton Gibson
fafbcc57db
[3.0.x] Added CVE-2020-13254 and CVE-2020-13596 to security archive.
...
Backport of 54975780ee2e4017844ecad94835fdce43d97377 from master
2020-06-03 12:06:17 +02:00
Mariusz Felisiak
683d01b0ef
[3.0.x] Made default_role_error use logger.
...
This prevents raising errors for translated docs, see
https://github.com/django/djangoproject.com/issues/997
Follow up to 1cdfe8d91215eefaa18c398069dd9c6879a9511d.
Backport of 36a2e9607e3069e875eedfd814d4473d9b6811cb from master
2020-06-03 11:44:51 +02:00
Carlton Gibson
c1dc423f10
[3.0.x] Added stub release notes for 3.0.8.
...
Backport of 7ec2658e1e24149f0f3244c08c361348f6ebc0e4 from master
2020-06-03 10:55:25 +02:00
Dan Palmer
84b2da5552
[3.0.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends.
2020-06-03 09:33:20 +02:00
Jon Dufresne
1f2dd37f6f
[3.0.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget.
2020-06-03 09:32:35 +02:00
Carlton Gibson
256d297101
[3.0.x] Added release date for 2.2.13 and 3.0.7.
...
Backport of 81dc710571b773557170cce9764fff83b6dfd8ae from master
2020-06-03 09:14:57 +02:00
David Smith
8734a02f5d
[3.0.x] Updated link to Celery.
...
Backport of 06c8565a4650b359bdfa59f9707eaa0d1dfd7223 from master
2020-06-02 14:38:06 +02:00
Carlton Gibson
d22f67848c
[3.0.x] Refs #31485 -- Backported jQuery upgrade to 3.5.1.
2020-06-02 14:36:31 +02:00
Carlton Gibson
b9db041789
[3.0.x] Adjusted URL example in tutorial.
...
No need for the example to be ASP specific.
Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
Backport of 8c49c3f7257f14e071b619f90cd4d8cae6d04e74 from master
2020-06-02 12:27:43 +02:00
Jon Dufresne
caf7c4630d
[3.0.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
...
Backport of 9f4ceee90aaa2a6af8321417d79330f2fdc620ea from master
2020-06-02 11:55:57 +02:00
Chris May
9297a3e627
[3.0.x] Fixed typo in docs/ref/templates/language.txt.
...
Backport of ecaac9e42f497be04ddc72dfebb6e397ccca9517 from master
2020-06-01 20:52:56 +02:00
Carlton Gibson
2638627db4
[3.0.x] Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations.
...
Regression in e3e48b00127c09eafe6439d980a82fc5c591b673.
Thanks to Shai Berger for report, reproduce and suggested fix.
Backport of dd1ca50b096bf0351819aabc862e91a9797ddaca from master
2020-06-01 09:27:53 +02:00
Fabio Sangiovanni
759e946330
[3.0.x] Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
...
Backport of df188824738ff5e54baf2d61f6a7dff51a20f068 from master
2020-06-01 07:50:19 +02:00
David Smith
4118a9b5f8
[3.0.x] Removed redundant pyenchant dependency in spelling check docs.
...
Backport of 7514852767c4723322f5799a2bd25b7ca263e3b0 from master
2020-06-01 07:09:31 +02:00
Jon Dufresne
e9d13f9d61
[3.0.x] Corrected FAQ link in docs/faq/help.txt.
...
Without the leading slash, was pointing to Python's FAQ
https://docs.python.org/3/faq/index.html .
Backport of 8dabdd2cc559a66b519e2a88b64575d304b96ebe from master
2020-05-29 21:24:59 +02:00
Jon Dufresne
9f30a7ebd3
[3.0.x] Changed some doc links to use intersphinx.
...
Backport of 494ba27b5fe14e42e815edde6bd4a1216b29c935 from master
2020-05-29 21:11:42 +02:00
David Smith
066076afaa
[3.0.x] Fixed #31628 -- Updated Windows install guide to recommend venv.
...
Backport of 922ff51f5ac34205f454d7b5786cef57f32b6ca3 from master
2020-05-27 11:20:52 +02:00
Carlton Gibson
11fc1cac9e
[3.0.x] Updated expected release dates for 3.0.7 and 2.2.13.
...
Backport of 9d55ae00d3dad9e93714add69ab7e48e7b0bcafa from master
2020-05-27 10:21:15 +02:00
Mariusz Felisiak
24cffddc6f
[3.0.x] Fixed some formatting issues in docs.
...
Backport of 803e70b1adb71d86eb5bbb4074ef5ff96ae6e55d from master.
2020-05-27 09:09:44 +02:00
René Fleschenberg
f175e03fc2
[3.0.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
...
Backport of f24b59267be2e5fc5bd1252efda3aed19f860813 from master
2020-05-25 21:04:49 +02:00
Claude Paroz
7f1d73e1cf
[3.0.x] Removed instructions for unsupported Apache versions.
...
Backport of cfa0c0e252c680f574c8eea1118e6d11bf7e5fa5 from master
2020-05-25 08:58:00 +02:00
Carlton Gibson
49427acd4a
[3.0.x] Updated list of third-party DB backends.
...
* Alphabetized third-party DB backend list.
* Added backticks around single-word link texts to ease visual/machine sorting.
* Added CockroachDB to list of third-party DB backends.
* Updated third-party DB backend URLs.
Thanks to Nick Pope and Tim Graham for the review.
Backport of 6dcfa70cac29c854fc5169bed1cf6479eabdb8c1 from master
2020-05-21 20:55:54 +02:00
Michael Manfre
e4d96084cf
[3.0.x] Added notes related to security pre-notification list requests.
...
Backport of 0e893248b28e30bf562d29e6d5745ffad4b1a1eb from master
2020-05-21 10:32:02 +02:00
Mariusz Felisiak
52453b438a
[3.0.x] Refs #31607 -- Added release notes for a125da6a7c79b1d4c55677d0bed6f9b1d7d77353.
...
Backport of 8328811f048fed0dd22573224def8c65410c9f2e from master
2020-05-20 09:19:37 +02:00
Mariusz Felisiak
92acf1022f
[3.0.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle.
...
Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in
the GROUP BY clause.
Regression in efa1908f662c19038a944129c81462485c4a9fe8.
Backport of 3a941230c85b2702a5e1cd97e17251ce21057efa from master
2020-05-14 15:11:18 +02:00
Simon Charette
49bbf6570d
[3.0.x] Fixed #31568 -- Fixed alias reference when aggregating over multiple subqueries.
...
691def10a0197d83d2d108bd9043b0916d0f09b4 made all Subquery() instances
equal to each other which broke aggregation subquery pushdown which
relied on object equality to determine which alias it should select.
Subquery.__eq__() will be fixed in an another commit but
Query.rewrite_cols() should haved used object identity from the start.
Refs #30727 , #30188 .
Thanks Makina Corpus for the report.
Backport of adfbf653dc1c1d0e0dacc4ed46602d22ba28b004 from master
2020-05-14 10:26:16 +02:00
Simon Charette
afceb2241b
[3.0.x] Fixed #31566 -- Fixed aliases crash when chaining values()/values_list() after annotate() with aggregations and subqueries.
...
Subquery annotation references must be resolved if they are excluded
from the GROUP BY clause by a following .values() call.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.
Thanks Makina Corpus for the report.
Backport of 42c08ee46539ef44f8658ebb1cbefb408e0d03fe from master
2020-05-14 08:40:40 +02:00
Mariusz Felisiak
6e8a11e88c
[3.0.x] Added stub release notes for 2.2.13.
...
Backport of 50798d43898c7d46926a4292f86fdf3859a433da from master
2020-05-14 06:30:30 +02:00
Jon Dufresne
7fa16e58d0
[3.0.x] Fixed numbered list in admin overview docs.
...
Backport of 05ed7104c0bc069352b2cee85ab918e48ee73cbe from master
2020-05-13 09:10:39 +02:00
Omkar Kulkarni
16bdb6b7ba
[3.0.x] Fixed #31495 - Corrected note about admin i18n in tutorial.
...
Thanks to Adam Johnson and Claude Paroz for review.
Backport of b7f1c0d86d72df51aa2e25da79d99074b751c7e1 from master
2020-05-06 17:38:27 +02:00
Adam Johnson
cdf320dfb2
[3.0.x] Fixed a/an typos in "SQL" usage.
...
Backport of 1c2c6f1b51a540bddc7ae95f4d1213688411ca44 from master
2020-05-06 06:36:16 +02:00
Mariusz Felisiak
fdd5eb4309
[3.0.x] Fixed #31538 -- Fixed Meta.ordering validation lookups that are not transforms.
...
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.
Thanks Simon Meers for the report.
Backport of b73e66e75802f10cc34d4880714554cea54dbf49 from master
2020-05-05 09:09:17 +02:00
Adam Johnson
883362b6a7
[3.0.x] Corrected models.FilePathField signature in docs.
...
Backport of 787981f9d1d5abc489a0b069e3353b8ad7aa9778 from master
2020-05-04 12:40:33 +02:00
Mariusz Felisiak
5c6be5816d
[3.0.x] Fixed typo in docs/releases/3.0.6.txt.
...
Backport of 7668f9bce921f66e8e572938154221cd687aaa4a from master
2020-05-04 07:43:48 +02:00
Mariusz Felisiak
668f745bb7
[3.0.x] Added stub release notes for 3.0.7.
...
Backport of 8e8ff38cb8766590fa3a4f412dbb4b11f65b5c69 from master
2020-05-04 07:43:44 +02:00
Mariusz Felisiak
b6e76cec12
[3.0.x] Updated man page for Django 3.0.
2020-05-04 07:13:43 +02:00
Mariusz Felisiak
c95ce8c34d
[3.0.x] Added release date for 3.0.6.
...
Backport of c5358794e3d893a74073d1ee0a3d173d8f1e04b6 from master
2020-05-04 07:04:42 +02:00
David Smith
fc0e0876da
[3.0.x] Refs #27778 -- Removed reference to ASCII usernames in django.contrib.auth.models.User docs.
...
Backport of 505b7b616320b8d5bbc83d0dbbb3aec3a58ba0c9 from master
2020-05-01 06:11:58 +02:00
Mariusz Felisiak
16dbeb2d51
[3.0.x] Updated expected date for 3.0.6 release.
...
Backport of 2788de95e375cccd03a3dfd161fc92b7d6df6024 from master
2020-04-28 10:13:23 +02:00
Mariusz Felisiak
e19ab18773
[3.0.x] Fixed broken links in docs.
...
Backport of b28be08cac1f7cde332ca43db65bb733fa3f9bf5 from master
2020-04-28 10:10:15 +02:00
Mariusz Felisiak
c91c4b326b
[3.0.x] Fixed typo in docs/topics/i18n/translation.txt.
...
Thanks durey for the report.
Backport of dd3dcd28402b7c9cc7bfd24d3e026db751ca4dfd from master
2020-04-28 10:08:27 +02:00
Mariusz Felisiak
04bc3577ed
[3.0.x] Fixed #31505 -- Doc'd possible email addresses enumeration in PasswordResetView.
...
Backport of ca769c8c13df46b8153a0a4ab3d748e88d6e26f9 from master
2020-04-27 18:07:34 +02:00
Hasan Ramezani
657992cf19
[3.0.x] Fixed #31514 -- Fixed default form widgets in model fields docs.
...
Backport of d6db186427d33889e4d2f3b56e02807d51fc0376 from master
2020-04-25 21:21:29 +02:00
Tim Schilling
a3e4591020
[3.0.x] Corrected outputting BooleanField as HTML in forms docs.
...
Backport of 34a69c24584ec7d842dbf266659b25527cd73909 from master
2020-04-24 12:15:50 +02:00