Commit Graph

28394 Commits

Author SHA1 Message Date
Simon Charette b8cb14e8a0 [3.1.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 08:59:43 +02:00
Ahmad A. Hussein ac0ff7d700 [3.1.x] Fixed #31736 -- Fixed InspectDBTransactionalTests.test_foreign_data_wrapper crash on Windows.
Backport of 798835112d from master
2020-06-23 21:00:09 +02:00
Yash Saini 648f6ffcd7 [3.1.x] Refs #31541 -- Added example of creating Redirect objects to redirects app docs.
Backport of a8c0246ece from master
2020-06-23 20:21:43 +02:00
Adam Johnson 59dcbdaed4 [3.1.x] Made small improvements to PostgreSQL operations docs.
Backport of 0ff3228844 from master.
2020-06-23 11:32:50 +02:00
Guillermo Bonvehí b2e2489d80 [3.1.x] Fixed #31728 -- Fixed cache culling when no key is found for deletion.
DatabaseCache._cull implementation could fail if no key was found to
perform a deletion in the table. This prevented the new cache key/value
from being correctly added.

Backport of f386454d13 from master
2020-06-22 07:10:16 +02:00
Tom Forbes ac7f7eab0f [3.1.x] Fixed #31716 -- Fixed detection of console scripts in autoreloader on Windows.
Backport of 8a902b7ee6 from master
2020-06-18 13:04:44 +02:00
David Smith 928f6a90e4 [3.1.x] Fixed #30933 -- Updated instructions for installing GeoDjango on Windows.
Backport of 7f4db2d82b from master
2020-06-17 20:14:31 +02:00
David Smith 58f7d7c9fd [3.1.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:11:20 +02:00
David Smith 9b95c3bc09 [3.1.x] Refs #31670 -- Removed whitelist/blacklist terminology in docs and comments.
Backport of 10df5b7177 from master
2020-06-17 13:16:17 +02:00
Tobias Krönke 5ba2dfb9d0 [3.1.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:52:45 +02:00
Mariusz Felisiak 450df4a45a [3.1.x] Bumped version for 3.1 beta 1. 2020-06-15 09:54:25 +02:00
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 42f5f2d76b [3.1.x] Fixed #31659 -- Made ExpressionWrapper preserve output_field for combined expressions.
Regression in df32fd42b8.

Thanks Simon Charette for the review.

Backport of aeb8996a67 from master
2020-06-12 07:21:19 +02:00
Michael Brown 45ec013116 [3.1.x] Fixed #28132 -- Made MultiPartParser ignore filenames with trailing slash.
Backport of 36db4dd937 from master
2020-06-11 09:12:14 +02:00
Hasan Ramezani 4385ef0119 [3.1.x] Fixed #31657 -- Fixed ordering by attnames of self-referential ForeignKeys.
Backport of 037a624120 from master
2020-06-10 12:05:31 +02:00
Hasan Ramezani bdfad57319 [3.1.x] Refs #31657 -- Added test for ordering by self-referential ForeignKeys.
Backport of c1f7de8acc from master
2020-06-10 12:05:24 +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
Joshua Massover 3fb69756ea [3.1.x] Fixed #31594 -- Added ASGIStaticFilesHandler.get_response_async().
Backport of 92309e53d9 from master
2020-06-08 13:00:48 +02:00
David Smith 1ac45e619d [3.1.x] Fixed #31662 -- Added detection for GDAL 3.0 and 3.1 on Windows.
Backport of 4652f1f0aa from master
2020-06-08 09:50: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
Sasha Pachev 21adaffb6e [3.1.x] Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values.
Backport of 38a21f2d9e from master
2020-06-05 21:14:33 +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
Claude Paroz 810e656aca [3.1.x] Refs #30134 -- Added test for {% localize off %} tag with format settings.
Backport of 51250d2f12 from master
2020-06-04 11:00:33 +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
Collin Anderson 5b3886d091 [3.1.x] Fixed #31641 -- Improved loading of navigation sidebar in admin.
Backport of 4ae9a2b18e from master
2020-06-03 15:17:45 +02:00
Mariusz Felisiak 2265bbe7b5 [3.1.x] Refs CVE-2020-13254 -- Fixed cache.tests when KEY_PREFIX is defined.
Follow up to 2c82414914.

Backport of 229c9c6653 from master
2020-06-03 13:01:06 +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
Mariusz Felisiak 619e3db7d5 [3.1.x] Refs #30997 -- Improved HttpRequest.is_ajax() warning message with stacklevel=2.
Backport of 7fc317ae73 from master
2020-06-03 08:48:21 +02:00
Thodoris Sotiropoulos fdd2b01e8e [3.1.x] Fixed #31651 -- Made ExpressionWrapper use grouping columns from wrapped expression.
Backport of df32fd42b8 from master
2020-06-03 07:53:27 +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
Carles Pina 56af541790 [3.1.x] Fixed #31536 -- Fixed rendering of disabled AdminFileWidget and ClearableFileInput.
Backport of e46c2326c8 from master
2020-06-01 12:48:26 +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