Commit graph

12034 commits

Author SHA1 Message Date
Anil Khatri
4f5e550cda [3.1.x] Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.
Backport of de4492fbb1 from master
2021-02-08 07:09:09 +01:00
Carlton Gibson
30b771766b [3.1.x] Corrected typo in advice to new contributors.
Backport of e48e78738e from master
2021-02-04 16:03:26 +01:00
GabbyPrecious
526a6f0d25 [3.1.x] Refs #32412 -- Adjusted link from tutorial to reference docs.
The writing code index page is a better location for a newer contributor to
land, than the specific patch guidelines subpage.

Backport of aa29c57bee from master
2021-02-04 10:39:22 +01:00
GabbyPrecious
fdeca77215 [3.1.x] Refs #32412 -- Adjusted beginning of Advice for new contributors.
With the goal of guiding folks to the right destination:

* Improved wording of tutorial call-out.
* Added summary of page purpose.
* Added link to Writing code reference doc.

Backport of e733c9ac17 from master
2021-02-04 10:39:18 +01:00
Mariusz Felisiak
9efe832ee1 [3.1.x] Fixed #32403 -- Fixed re-raising DatabaseErrors when using only 'postgres' database.
Thanks Kazantcev Andrey for the report.

Regression in f48f671223.
Backport of f131841c60 from master
2021-02-02 21:36:06 +01:00
Brad Solomon
2d560af8fb [3.1.x] Fixed typo in docs/ref/forms/widgets.txt.
Backport of f9cfd346f0 from master
2021-02-01 12:05:49 +01:00
Mariusz Felisiak
65d4c59da9 [3.1.x] Added stub release notes for 3.1.7.
Backport of 8d3c3a5717 from master
2021-02-01 10:55:28 +01:00
Mariusz Felisiak
a930e77a83 [3.1.x] Added CVE-2021-3281 to security archive.
Backport of f749148d62 from master
2021-02-01 10:46:17 +01:00
Mariusz Felisiak
02e6592835 [3.1.x] Fixed CVE-2021-3281 -- Fixed potential directory-traversal via archive.extract().
Thanks Florian Apolloner, Shai Berger, and Simon Charette for reviews.

Thanks Wang Baohua for the report.

Backport of 05413afa8c from master.
2021-02-01 09:13:58 +01:00
Adam Johnson
a271d8c15c [3.1.x] Modernized custom manager example
Since this example was added 15 years ago in a8ccdd0fcd, the ORM has gained the ability to do the `COUNT(*)` related query, so do it with the ORM to avoid misleading users that raw SQL is only supported from manager methods.

Backport of 59e503b670 from master
2021-01-28 16:02:15 +01:00
Denis Skulimovskiy
82e1294602 [3.1.x] Fixed #32391 -- Used CSS flex properties for changelist filter.
Matched layout adjustment using flex from admin sidebar added in
d24ba1be7a.

Filters would become squashed when viewport was
constrained or list display table became too wide.

Backport of 269a767146 from master
2021-01-28 15:55:51 +01:00
Timothy McCurrach
b920945d02 [3.1.x] Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for multiple batches.
Backport of 241da3f06e from master
2021-01-28 08:07:33 +01:00
Carlton Gibson
fa203f1759 [3.1.x] Fixed #32348, Refs #29087 -- Corrected tutorial for updated deleting inlines UI.
Updated tutorial to match change in 24e540fbd7
allowing deletion of original extra inlines.

Backport of f4272d000a from master
2021-01-27 08:48:14 +01:00
Jack
18adc89e50 [3.1.x] Refs #32372 -- Updated manager name in related objects reference docs.
Follow up to 725c549ae7.
Backport of 2b4b6c8af0 from master
2021-01-22 20:20:04 +01:00
Jack Aitken
cc5ee23f74 [3.1.x] Fixed #32372 -- Made examples in related objects reference docs consistent.
Backport of 725c549ae7 from master
2021-01-22 06:53:34 +01:00
Matthias Kestenholz
2a74248eca [3.1.x] Fixed #32371 -- Doc'd jquery.init.js dependency for admin widgets.
Backport of 7b3ec6bcc8 from master
2021-01-20 22:08:31 +01:00
Carles Pina Estany
ed616ffe94 [3.1.x] Fixed cross-link in CBV topic documentation.
Backport of 7072bff1fd from master
2021-01-14 11:19:29 +01:00
Mariusz Felisiak
fdbcbc3081 [3.1.x] Removed unused import in docs/ref/models/expressions.txt.
Backport of fdc3d9dcaf from master
2021-01-12 10:54:03 +01:00
Iuri de Silvio
1dd159f16e [3.1.x] Fixed #32313 -- Corrected QuerySet.in_bulk() signature.
Backport of 02391bc98c from master
2021-01-11 08:02:03 +01:00
Hasan Ramezani
2b443cb6c2 [3.1.x] Fixed #32315 -- Doc'd FieldFile.path.
Backport of 3eb98743dc from master
2021-01-07 12:53:04 +01:00
Fabio Sangiovanni
6d3a623f71 [3.1.x] Fixed #32310 -- Fixed note about reverse accessors for intermediate table for self-referential ManyToManyField.
Backport of 2d6c9b97bc from master
2021-01-04 22:21:17 +01:00
Carlton Gibson
622e37ca6d [3.1.x] Added stub release notes for 3.1.6.
Backport of 966ed414b2 from master
2021-01-04 08:59:11 +01:00
Carlton Gibson
3bfe6da27b Added release date for 3.1.5.
Backport of 767917ed49 from master.
2021-01-04 08:43:07 +01:00
Tim Graham
f4db2d16ec [3.1.x] Refs #28741 -- Doc'd SESSION_COOKIE_DOMAIN requirement with CSRF_USE_SESSIONS.
Similar considerations as refs #32065, again adding some nuance to
afd375fc34.

Backport of 2e7ba6057c from master
2021-01-04 08:17:46 +01:00
Roland Geider
a7e2f6c257 [3.1.x] Fixed typo in docs/ref/templates/builtins.txt.
Backport of 3363cf4225 from master
2021-01-04 07:35:34 +01:00
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
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
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