Commit graph

11609 commits

Author SHA1 Message Date
Steven Pousty
9b9083981a [3.0.x] Fixed #31743 -- Doc't that managed=False prevents Django from managing tables modifications.
Backport of d2c135da4c from master
2020-06-26 09:59:20 +02:00
Adam Johnson
af2e95b0fa [3.0.x] Refs #31493 -- Replaced var with const/let in documentation JS.
Backport of 2afa61e7d9 from master

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2020-06-24 12:27:31 +02:00
Simon Charette
453a5bf302 [3.0.x] Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on PostgreSQL.
The namespace of the constraint must be included when making the
constraint immediate.

Regression in 22ce5d0031.

Thanks Rodrigo Estevao for the report.

Backport of 2e8941b6f9 from master
2020-06-24 09:00:22 +02:00
David Smith
f22f660a33 [3.0.x] Adjusted model definition in GeoDjango tutorial.
The example uses the world border data set, where
one of the entries has a null field value.

Backport of 6bc9283751 from master
2020-06-17 20:17:42 +02:00
Tobias Krönke
0afe8ba2d6 [3.0.x] Fixed #31689 -- Doc'd caveat about using bulk_create()'s ignore_conflicts on MariDB and MySQL.
Backport of 69e0d9c553 from master
2020-06-15 12:54:01 +02:00
Hasan Ramezani
b61af177ee [3.0.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810b from master
2020-06-15 09:45:45 +02:00
sebashwa
33767d5ab6 [3.0.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
Backport of 3d664a158d from master
2020-06-15 09:05:43 +02:00
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
40b0a58f5f because is_whitespace property
was added in sqlparse 0.2.2.
Backport of 4339f2aff2 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 4edad1ddf6.

Backport of b38d44229f 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 3a941230c8.

Thanks Tomasz Szymański for the report.
Backport of 78ad4b4b02 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 926148ef01 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 55556e51fb 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 25352dc019 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 54975780ee 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 1cdfe8d912.
Backport of 36a2e9607e 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 7ec2658e1e 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 81dc710571 from master
2020-06-03 09:14:57 +02:00
David Smith
8734a02f5d [3.0.x] Updated link to Celery.
Backport of 06c8565a46 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 8c49c3f725 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 9f4ceee90a 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 ecaac9e42f 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 e3e48b0012.

Thanks to Shai Berger for report, reproduce and suggested fix.

Backport of dd1ca50b09 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 df18882473 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 7514852767 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 8dabdd2cc5 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 494ba27b5f 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 922ff51f5a 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 9d55ae00d3 from master
2020-05-27 10:21:15 +02:00
Mariusz Felisiak
24cffddc6f [3.0.x] Fixed some formatting issues in docs.
Backport of 803e70b1ad 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 f24b59267b from master
2020-05-25 21:04:49 +02:00
Claude Paroz
7f1d73e1cf [3.0.x] Removed instructions for unsupported Apache versions.
Backport of cfa0c0e252 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 6dcfa70cac 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 0e893248b2 from master
2020-05-21 10:32:02 +02:00
Mariusz Felisiak
52453b438a [3.0.x] Refs #31607 -- Added release notes for a125da6a7c.
Backport of 8328811f04 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 efa1908f66.
Backport of 3a941230c8 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.
691def10a0 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 adfbf653dc 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 fb3f034f1c.

Thanks Makina Corpus for the report.

Backport of 42c08ee465 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 50798d4389 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 05ed7104c0 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 b7f1c0d86d 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 1c2c6f1b51 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 440505cb2c.

Thanks Simon Meers for the report.
Backport of b73e66e758 from master
2020-05-05 09:09:17 +02:00
Adam Johnson
883362b6a7 [3.0.x] Corrected models.FilePathField signature in docs.
Backport of 787981f9d1 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 7668f9bce9 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 8e8ff38cb8 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 c5358794e3 from master
2020-05-04 07:04:42 +02:00