Commit Graph

11816 Commits

Author SHA1 Message Date
Mariusz Felisiak 3f70188033 [3.1.x] Updated man page for Django 3.1 beta. 2020-06-15 09:52:09 +02:00
Hasan Ramezani ecd794bc68 [3.1.x] Fixed #31696 -- Updated OWASP links in docs.
Backport of a16080810b from master
2020-06-15 09:44:37 +02:00
sebashwa 2d3b6bce28 [3.1.x] Fixed #31690 -- Added note about fuzzy entries in translation docs.
Backport of 3d664a158d from master
2020-06-15 09:05:09 +02:00
Claude Paroz 6f526cb203 [3.1.x] Added support for the Tajik language.
Thanks Sirius Sufiew for contributing that support.

Backport of db8268bce6 from master
2020-06-12 22:32:46 +02:00
Mariusz Felisiak 714d7cb415 [3.1.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:24 +02:00
Nicolas Baccelli 83749dca7a [3.1.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:18:32 +02:00
Mariusz Felisiak df9b9de6b0 [3.1.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:09 +02:00
Mariusz Felisiak 031a082d41 [3.1.x] Fixed #31654 -- Fixed cache key validation messages.
Backport of 926148ef01 from master
2020-06-05 07:22:24 +02:00
Claude Paroz acaa201527 [3.1.x] Fixed #30134 -- Ensured unlocalized numbers are string representation in templates.
Backport of 9e57b1efb5 from master
2020-06-04 11:00:40 +02:00
Hasan Ramezani 43254876c2 [3.1.x] Fixed #31650 -- Added note uniqueness of constraints names in docs.
Backport of 55556e51fb from master
2020-06-04 07:38:35 +02:00
David Smith 392e12e266 [3.1.x] Updated How to install Django on Windows guide.
Backport of 25352dc019 from master
2020-06-03 16:28:58 +02:00
Carlton Gibson 616c49d08e [3.1.x] Added CVE-2020-13254 and CVE-2020-13596 to security archive.
Backport of 54975780ee from master
2020-06-03 12:05:46 +02:00
Mariusz Felisiak e260dec258 [3.1.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:43:37 +02:00
Carlton Gibson d193aa8da6 [3.1.x] Added stub release notes for 3.0.8.
Backport of 7ec2658e1e from master
2020-06-03 10:55:07 +02:00
Dan Palmer 580bd64c04 [3.1.x] Fixed CVE-2020-13254 -- Enforced cache key validation in memcached backends. 2020-06-03 09:31:28 +02:00
Jon Dufresne 49d7cc19e3 [3.1.x] Fixed CVE-2020-13596 -- Fixed potential XSS in admin ForeignKeyRawIdWidget. 2020-06-03 09:30:41 +02:00
Carlton Gibson 0186b43073 [3.1.x] Added release date for 2.2.13 and 3.0.7.
Backport of 81dc710571 from master
2020-06-03 09:14:30 +02:00
David Smith 52784a83ce [3.1.x] Updated link to Celery.
Backport of 06c8565a46 from master
2020-06-02 14:37:45 +02:00
Carlton Gibson f9a1da1c06 [3.1.x] Refs #31485 -- Added release notes for backport of jQuery upgrade to 3.5.1.
Backport of 0daddf093f from master
2020-06-02 14:34:56 +02:00
Carlton Gibson b6be810643 [3.1.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:15 +02:00
Jon Dufresne d7ee69d2f2 [3.1.x] Fixed #31643 -- Changed virtualenv doc references to Python 3 venv.
Backport of 9f4ceee90a from master
2020-06-02 11:53:14 +02:00
Chris May fe07357ef9 [3.1.x] Fixed typo in docs/ref/templates/language.txt.
Backport of ecaac9e42f from master
2020-06-01 20:52:25 +02:00
Nikita Sobolev 22dac456f3 [3.1.x] Made small improvement to docs/topics/db/multi-db.txt.
Backport of 682b295c6c from master
2020-06-01 10:20:54 +02:00
Fabio Sangiovanni c3bd48c4cb [3.1.x] Made minor edits to TemplateResponseMixin.get_template_names() docs.
Backport of 19ceabefd4 from master
2020-06-01 10:17:08 +02:00
Carlton Gibson 98fada7244 [3.1.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:02 +02:00
Fabio Sangiovanni 9ce281d21f [3.1.x] Added SingleObjectMixin.query_pk_and_slug to CBV flattened index.
Backport of df18882473 from master
2020-06-01 07:49:26 +02:00
David Smith 74baa468e0 [3.1.x] Removed redundant pyenchant dependency in spelling check docs.
Backport of 7514852767 from master
2020-06-01 07:08:25 +02:00
Jon Dufresne 0793f93bbe [3.1.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:21 +02:00
Jon Dufresne df1bb7ab21 [3.1.x] Changed some doc links to use intersphinx.
Backport of 494ba27b5f from master
2020-05-29 21:10:34 +02:00
David Smith bd766ac8bf [3.1.x] Fixed #31628 -- Updated Windows install guide to recommend venv.
Backport of 922ff51f5a from master
2020-05-27 11:20:13 +02:00
Frantisek Holop a79d0c8c81 [3.1.x] Refs #31615 -- Improved creating extension docs.
Backport of f3ed42c8ad from master
2020-05-27 11:14:31 +02:00
Carlton Gibson 36d5646aff [3.1.x] Updated expected release dates for 3.0.7 and 2.2.13.
Backport of 9d55ae00d3 from master
2020-05-27 10:20:37 +02:00
Mariusz Felisiak ebf553397a [3.1.x] Fixed some formatting issues in docs.
Backport of 803e70b1ad from master
2020-05-27 09:07:33 +02:00
René Fleschenberg ccf3cecbaf [3.1.x] Refs #23097 -- Used new octal format in FILE_UPLOAD_PERMISSIONS docs.
Backport of f24b59267b from master
2020-05-25 21:04:28 +02:00
Claude Paroz 691142364f [3.1.x] Removed instructions for unsupported Apache versions.
Backport of cfa0c0e252 from master
2020-05-25 08:57:14 +02:00
Carlton Gibson b205c0b0cc [3.1.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:25 +02:00
Hasan Ramezani a6c773aa86 [3.1.x] Fixed #31608 -- Doc'd that form ISO 8601 datetime parsing always retains tzinfo.
Backport of 643207efae from master
2020-05-21 20:49:30 +02:00
Michael Manfre 0e0005172e [3.1.x] Added notes related to security pre-notification list requests.
Backport of 0e893248b2 from master
2020-05-21 10:31:29 +02:00
Claude Paroz ff9cdb70cf [3.1.x] Added Kyrgyz language.
Thanks Soyuzbek orozbek uulu for contributing that support.
Backport of 3460ea49e8 from master
2020-05-20 12:30:18 +02:00
Mariusz Felisiak d5231719e0 [3.1.x] Refs #31607 -- Added release notes for a125da6a7c.
Backport of 8328811f04 from master
2020-05-20 09:19:08 +02:00
Carlton Gibson 844e0591f9 [3.1.x] Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
Backport of 5af17babb0 from master
2020-05-19 20:27:29 +02:00
xncbf 03bfcbad88 [3.1.x] Fixed #31577 -- Clarified docs about bounds of RangeFields.
Backport of 4029bcd6b2 from master
2020-05-18 20:42:33 +02:00
Mariusz Felisiak b46b0f80e8 [3.1.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:10:28 +02:00
Jon Dufresne 1c2d0fdf3e [3.1.x] Fixed #31575 -- Added system check for admin sidebar request context processor dependency.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of d522b51c40 from master
2020-05-14 11:01:22 +02:00
Jon Dufresne c9a9d042e5 [3.1.x] Refs #31034 -- Documented admin requires django.template.context_processors.request.
Required since d24ba1be7a.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of e341bed606 from master
2020-05-14 11:01:17 +02:00
Simon Charette 3913acdb29 [3.1.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:05 +02:00
Simon Charette 8cb87a3f7c [3.1.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:39:21 +02:00
Mariusz Felisiak 6227173542 [3.1.x] Added stub release notes for 2.2.13.
Backport of 50798d4389 from master
2020-05-14 06:30:02 +02:00
Nick Pope 4eb5e4ee4f [3.1.x] Used :envvar: role and .. envvar:: directive in various docs.
Backport of fbdb032de2 from master
2020-05-13 09:38:59 +02:00
Nick Pope 345fa40cb5 [3.1.x] Used :mimetype: role in various docs.
Backport of feb91dbda1 from master
2020-05-13 09:38:49 +02:00