Commit Graph

28713 Commits

Author SHA1 Message Date
Tim Graham 558c100181 [3.1.x] Updated CVE URL.
Backport of 656b331b13 from master
2021-01-02 12:49:36 +01:00
Mariusz Felisiak 5fdc81d893 [3.1.x] Fixed #32304 -- Fixed prefixing STATIC_URL and MEDIA_URL by SCRIPT_NAME for absolute URLs with no domain.
Thanks Adam Hooper for the report.

Regression in c574bec092.
Backport of e13b71403b from master
2020-12-31 13:19:34 +01:00
Mariusz Felisiak 6b4b7da740 [3.1.x] Fixed #32299 -- Prevented mutating handlers when processing middlewares marking as unused in an async context.
Thanks Hubert Bielenia for the report.
Backport of 98ad327864 from master
2020-12-29 09:06:03 +01:00
Mariusz Felisiak 3029e22607 [3.1.x] Corrected related fields checks messages in docs.
Backport of 72d04e0385 from master
2020-12-29 09:06:03 +01:00
Jon Dufresne 6165e23776 [3.1.x] Refs #30367 -- Changed remaining "pip install" to "python -m pip install" in docs.
Backport of 429d089d0a from master.
2020-12-23 17:23:35 +01:00
Jon Dufresne e5273bc92b [3.1.x] Removed forms-MAX_NUM_FORMS POST data in docs
The field is ignored server-side and only exists as a client-side
convenience. Removing it slightly simplifies the documentation and
avoids some distractions.

Added note:: for MIN_NUM_FORMS/MAX_NUM_FORMS in
Understanding the management form section.

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

Backport of d3b3eb860d from master
2020-12-23 17:19:00 +01:00
Jon Dufresne db1d1883e0 [3.1.x] Corrected code-block directives in docs/ref/models/meta.txt.
Backport of fe886eee36 from master
2020-12-21 07:58:56 +01:00
joshuapatel 2332a05b0c [3.1.x] Fixed typo in docs/ref/files/storage.txt.
Backport of 1190af5071 from master
2020-12-21 07:35:48 +01:00
Jon Dufresne 915fe98bdc [3.1.x] Updated isort URL to new location.
Backport of 28d998a41c from master
2020-12-20 11:01:16 +01:00
Nick Pope b044b417d2 [3.1.x] Refs #30181 -- Corrected note about storing None in the cache.
Backport of d23dad5778 from master
2020-12-17 10:39:21 +01:00
Hasan Ramezani da42df9378 [3.1.x] Fixed #32273 -- Doc'd AdminSite.unregister().
Backport of bebd4cfa8f from master
2020-12-16 08:10:44 +01:00
Mariusz Felisiak 1fb99795e7 [3.1.x] Fixed typo in docs/ref/forms/widgets.txt.
Thanks rgs258 for the report.
Backport of 0ecc70b15a from master
2020-12-15 21:14:06 +01:00
Carlton Gibson 3d28beea00 [3.1.x] Corrected formatting in settings docs.
Backport of 0ed6f3ba4b from master
2020-12-15 12:09:38 +01:00
Jon Dufresne 5d41fd22dc [3.1.x] Added backticks to code literals in various docs.
Backport of 550297d20d from master
2020-12-15 07:21:53 +01:00
Adam Johnson 092a25dcf2 [3.1.x] Removed redundant sentence in 'check' management command docs.
Backport of 187e088b48 from master
2020-12-14 06:32:30 +01:00
Jan Pieter Waagmeester 50f436bb8a [3.1.x] Corrected docs regarding attributes required for logging in to the admin.
Regression in 939dcff24f.
Backport of 991dce4fc5 from master
2020-12-11 23:14:12 +01:00
sage a891e1bb0a [3.1.x] Fixed #32252 -- Fixed __isnull=True on key transforms on SQLite and Oracle.
__isnull=True on key transforms should not match keys with NULL values.

Backport of 8d7085e0fd from master
2020-12-11 11:18:15 +01:00
Matthias Kestenholz ce7f8c2ead [3.1.x] Adjusted formatting of ngettext docs code examples.
Backport of 62f477d171 from master
2020-12-08 12:13:01 +01:00
Mariusz Felisiak d3e3d63bb1 [3.1.x] Added stub release notes for 3.1.5.
Backport of adb40d217e from master
2020-12-01 07:19:22 +01:00
Mariusz Felisiak 68646e7146 [3.1.x] Post-release version bump. 2020-12-01 07:01:24 +01:00
Mariusz Felisiak fa206fe722 [3.1.x] Bumped version for 3.1.4 release. 2020-12-01 06:32:31 +01:00
Mariusz Felisiak 0313af7d8a [3.1.x] Added release date for 3.1.4.
Backport of 670261b8d6 from master
2020-12-01 06:25:27 +01:00
Hasan Ramezani 51fa5a9b9b [3.1.x] Fixed #32232 -- Fixed typo in docs/ref/contrib/admin/actions.txt.
Backport of 55fabc5337 from master
2020-11-30 10:08:11 +01:00
Mariusz Felisiak 2ab8b5f4f8
[3.1.x] Refs #32230 -- Fixed LayerMapping example in GeoDjango tutorial.
LayerMapping.data_source doesn't support pathlib.Path().

Regression in 26554cf5d1.

Follow up to e46ca51c24.
2020-11-28 09:22:34 +01:00
Neil Lyons 3a70c362ec [3.1.x] Refs #32230 -- Fixed DataSource example in GeoDjango tutorial.
DataSource.ds_input doesn't support pathlib.Path().

Regression in 26554cf5d1.
Backport of e46ca51c24 from master
2020-11-27 07:00:30 +01:00
sage a7935fe942 [3.1.x] Fixed #32203 -- Fixed QuerySet.values()/values_list() crash on key transforms with non-string values on SQLite.
Thanks Gordon Wrigley for the report.

Backport of fe6e582421 from master
2020-11-25 20:30:38 +01:00
sage a2abeb3de7 [3.1.x] Refs #32203 -- Added tests for QuerySet.values()/values_list() on key transforms with non-trivial values.
Backport of 7408c4cd15 from master
2020-11-25 20:30:30 +01:00
Mariusz Felisiak 97bfe0cba5 [3.1.x] Fixed #32224 -- Avoided suppressing connection errors in supports_json_field on SQLite.
Regression in 6789ded0a6.

Thanks Juan Garcia Alvite for the report.
Backport of f5e5aac59e from master
2020-11-25 12:21:29 +01:00
Mariusz Felisiak a582ef8b89 [3.1.x] Added test for filtering JSONField key transforms with quoted strings.
Backport of bec415b290 from master
2020-11-25 06:55:39 +01:00
Hasan Ramezani 166c0d2474 [3.1.x] Fixed #32200 -- Fixed grouping by ExpressionWrapper() with Q objects.
Thanks Gordon Wrigley for the report.

Regression in df32fd42b8.

Backport of fe9c7ded29 from master
2020-11-19 21:42:14 +01:00
Carlton Gibson 012822c7f9 [3.1.x] Fixed #32202 -- Fixed autoreloader argument generation for Windows with Python 3.7-.
Backport of ead37dfb58 from master
2020-11-19 12:12:47 +01:00
sage 4f7517b5e0 [3.1.x] Fixed #32199 -- Doc'd JSONField in ModelForm field mapping.
Backport of 4a412c2e65 from master
2020-11-17 09:01:13 +01:00
Nick Pope d55cd4c62a [3.1.x] Doc'd that admin site booleans are tri-state.
Backport of 300def5c34 from master
2020-11-14 07:59:05 +01:00
Nick Pope 4f11461195 [3.1.x] Improved examples in ModelAdmin.list_display docs.
Backport of aa53655e6e from master
2020-11-14 06:37:15 +01:00
Nick Pope 1f6e7fb4ab [3.1.x] Changed docs and a code comment to use gender-neutral pronouns.
Follow up to e1b7723817.

Backport of 477c800443 from master.
2020-11-13 22:29:41 +01:00
Hasan Ramezani eba8d6f5d7 [3.1.x] Fixed #32187 -- Removed unnecessary select_related in queries doc.
Backport of c448e614c6 from master
2020-11-12 10:07:11 +01:00
Caio Ariede 7ace6265d6 [3.1.x] Fixed #31122 -- Clarified that Lookup acts as a query expression.
Backport of 9a3454f604 from master
2020-11-11 14:36:37 +01:00
Carles Pina Estany 09dbae21c9 [3.1.x] Fixed #32176 -- Clarified filesystem cache docs.
Backport of a43e2f66d7 from master
2020-11-10 11:17:25 +01:00
Hannes Ljungberg cc3870c30f [3.1.x] Fixed #32182 -- Fixed crash of JSONField nested key transforms with subquery annotations on PostgreSQL.
Backport of 0773837e15 from master
2020-11-10 08:13:03 +01:00
Craig Smith d67f965c79 [3.1.x] Fixed #32045 -- Doc'd GenericRelatedObjectManager methods.
This also documents that .remove() and clear() methods delete related
objects.

Backport of 354c1524b3 from master
2020-11-06 12:09:02 +01:00
Carlton Gibson 8b3010a298 [3.1.x] Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.
Backport of ebb08d1942 from master
2020-11-04 11:09:52 +01:00
Patrick Arminio bb74d2db98 [3.1.x] Fixed #32162 -- Fixed setting Content-Length header in AsyncRequestFactory.
Backport of 542b4b3ab4 from master
2020-11-03 10:33:34 +01:00
Nikita Sobolev 31946faf4f [3.1.x] Updated {% static %} tag examples in docs to use single quotes where appropriate.
Backport of 42f3fafdfa from master
2020-11-02 10:35:04 +01:00
Max Smolens e707a1bd9a [3.1.x] Fixed #31850 -- Fixed BasicExtractorTests.test_extraction_warning with xgettext 0.21+.
"format string with unnamed arguments cannot be properly localized"
warning is not raised in xgettext 0.21+.

This patch uses a message that causes an xgettext warning regardless of
the version.

Backport of 07a30f5616 from master
2020-11-02 10:29:14 +01:00
Carlton Gibson c13702a9f3 [3.1.x] Added stub release notes for 3.1.4.
Backport of c8785b473f from master
2020-11-02 09:21:21 +01:00
Carlton Gibson 7597c51efb [3.1.x] Post-release version bump. 2020-11-02 09:11:45 +01:00
Carlton Gibson 4264d78f2d [3.1.x] Bumped version for 3.1.3 release. 2020-11-02 09:04:03 +01:00
Carlton Gibson 3df3e2ef8d [3.1.x] Set release date for 3.1.3, 3.0.11, and 2.2.17.
Backport of 7fc07b9b2b from master
2020-11-02 08:35:59 +01:00
Christian Klus ab951d242e [3.1.x] Fixed #32152 -- Fixed grouping by subquery aliases.
Regression in 42c08ee465.

Thanks Simon Charette for the review.

Backport of 4ac2d4fa42 from master
2020-10-29 11:30:53 +01:00
Caio Ariede 62f6ab2c4a [3.1.x] Fixed #26962 -- Doc'd running migrations in transactions.
Backport of 9ca22c7733 from master
2020-10-29 08:39:43 +01:00