30096 Commits

Author SHA1 Message Date
Mariusz Felisiak
1ab5842760 [4.0.x] Refs #33163 -- Corrected example of connection signal handlers in AppConfig.ready().
Backport of 75ee7057e98dd9725fabb98cabe42966fa4c8222 from main
2021-11-26 11:17:02 +01:00
Ryuji Tsutsui
5a61bdbb85 [4.0.x] Fixed typo in docs/releases/4.0.txt.
Backport of b8c0b22f2f0f8ce664642332d6d872f300c662b4 from main
2021-11-24 17:38:53 +01:00
Mariusz Felisiak
70b05c5374 [4.0.x] Corrected signatures of QuerySet's methods.
Backport of a17becf4c7f4e4057e8c94990e4b4999be0aea95 from main
2021-11-23 07:04:59 +01:00
Mariusz Felisiak
8e5405a47e [4.0.x] Corrected isort example in coding style docs.
Follow up to e74b3d724e5ddfef96d1d66bd1c58e7aae26fc85.
Backport of 8b020f2e64f1cbf2b06205a389a13af6623f90ce from main
2021-11-22 12:34:52 +01:00
Paolo Melchiorre
cf770b2b3d [4.0.x] Corrected "pip install" call in coding style docs.
Backport of dd528cb2cefc0db8b91a7ff0a2bc87305b976597 from main
2021-11-22 09:57:23 +01:00
Mariusz Felisiak
4e3d14456b [4.0.x] Bumped version for 4.0 release candidate 1. 4.0rc1 2021-11-22 07:29:13 +01:00
jhisham
35c63c0513 [4.0.x] Added Malay language.
Backport of 5e218cc0b704ebf64c460050a97b5fafe63e92b0 from main
2021-11-18 22:05:27 +01:00
Adam Johnson
3b09e86fa3 [4.0.x] Configured Read The Docs to build all formats.
`all` acts as an alias for all formats ([docs](https://docs.readthedocs.io/en/stable/config-file/v2.html#formats)). Whilst there are only three formats right now, this would auto expand to other formats in the future, which seems desirable?
Backport of 1fe23bdd29a8f2f6802c2038702ff7a5d0e21a0d from main
2021-11-18 12:23:50 +01:00
Mariusz Felisiak
b41f669049 [4.0.x] Fixed crash building HTML docs since Sphinx 4.3.
See dd2ff3e911.
Backport of f0480ddd2d3cb04b784cf7ea697f792b45c689cc from main
2021-11-17 12:31:46 +01:00
Roxane
350d15d79c [4.0.x] Fixed #33163 -- Added example of connection signal handlers in AppConfig.ready() to docs.
Backport of 2d124f6a1c45afdde8be90c01043e0b14455d41e from main
2021-11-17 12:30:19 +01:00
Can Sarigol
d54aa49a7d [4.0.x] Fixed #33279 -- Fixed handling time zones with "-" sign in names.
Thanks yakimka for the report.

Regression in fde9b7d35e4e185903cc14aa587ca870037941b1.

Backport of 661316b066923493ff91d6d2aa92e463f595a6b1 from main.
2021-11-12 11:14:08 +01:00
Mariusz Felisiak
45de30dc69 [4.0.x] Refs #33263 -- Added warning to BaseDeleteView when delete() method is overridden.
Follow up to 3a45fea0832c5910acee6e0d29f230f347a50462.
Backport of 6bc437c0d82675ebe6aa92c8e249892205c316ef from main
2021-11-09 09:04:12 +01:00
Mariusz Felisiak
b7b3bbc835 [4.0.x] Fixed #33253 -- Reverted "Fixed #32319 -- Added ES module support to ManifestStaticFilesStorage."
This reverts commit 91e21836f667c784a8a63ab1f18d81f553e679cb.

`export` and `import` directives have several syntax variants and not
all of them were properly covered.

Thanks Hervé Le Roy for the report.
Backport of ba9ced3e9a643a05bc521f0a2e6d02e3569de374 from main
2021-11-05 12:11:59 +01:00
Carlton Gibson
3151daaa6c [4.0.x] Refs #33263 -- Expanded release notes for DeleteView adopting FormMixin.
Backport of 2c01ebb4be5d53cbf6450f356c10e436025d6d07 from main
2021-11-05 10:27:40 +01:00
Carlton Gibson
499384b6d1 [4.0.x] Fixed #33237 -- Fixed detecting source maps in ManifestStaticFilesStorage for multiline files.
Switched regex to multiline mode in order to match per-line, rather
than against the whole file.

Thanks to Joseph Abrahams for the report.

Regression in 781b44240a06f0c868254f40f36ce46c927f56d1.

Backport of 4816dc942860caf076c7c85ea9dbfa8bfab212ff from main
2021-11-04 21:41:25 +01:00
Mariusz Felisiak
6fc689a22d [4.0.x] Corrected multiply defined labels in docs.
Backport of 60503cc747eeda7c61bab02b71f8f55a733a6eea from main
2021-11-04 10:46:30 +01:00
Carlton Gibson
2877d26448 [4.0.x] Refs #33247 -- Corrected configuration for Read The Docs.
This pins Sphinx version, because the default Sphinx version used by
RTD is not compatible with Python 3.8+.

This also, sets Python 3.8 for RTD builds which is compatible with all
current versions of Django.

Thanks to Mariusz Felisiak for the suggestion.
Backport of 447b6c866f0741bb68c92dc925a65fb15bfe7995 from main
2021-11-03 18:46:08 +01:00
Carlton Gibson
df452a226e [4.0.x] Fixed #33247 -- Added configuration for Read The Docs.
Co-authored-by: Andrew Neitsch <andrew@neitsch.ca>

Backport of 0da7a2e9dab81b622a2000536c6a96de7f46e237 from main
2021-11-03 18:45:54 +01:00
Adam Johnson
b3be91dabf [4.0.x] Corrected module reference in contributing tutorial.
Backport of 9f3bd9dfc42b4e0ff89566763d211ab9e8f50d5e from main
2021-11-03 07:47:44 +01:00
Brad
ccc4503a82 [4.0.x] Fixed typo in docs/topics/logging.txt.
Backport of c7152cb58ea84f51bc2096fb5d3cf03ab31ea985 from main
2021-11-03 07:42:08 +01:00
Mariusz Felisiak
e2fe0429ab [4.0.x] Fixed #33234 -- Fixed autodetector crash for proxy models inheriting from non-model class.
Regression in aa4acc164d1247c0de515c959f7b09648b57dc42.

Thanks Kevin Marsh for the report.
Backport of dab48b7482295956973879d15bfd4d3bb0718772 from main
2021-11-02 15:35:52 +01:00
Mariusz Felisiak
b4ad6e32ca [4.0.x] Added stub release notes for Django 3.2.10.
Backport of d811fa1d1012e746719aa3af351f56ad21f92610 from main
2021-11-01 10:42:21 +01:00
Mariusz Felisiak
a98bbcc2bb [4.0.x] Added release date for 3.2.9.
Backport of 7ec603ba259083298c9598a41987b4c4f2a5d134 from main
2021-11-01 10:19:32 +01:00
Vikash Singh
149db49b96 [4.0.x] Added Google Cloud Spanner to list of third-party DB backends.
Backport of 125f9afc2c42449ee79283fefa778651acfd4aed from main
2021-11-01 10:10:33 +01:00
Carlton Gibson
afe090481f [4.0.x] Refs #33182 -- Adjusted custom admin theming example to use correct template block.
Backport of a754b82dac511475b6276039471ccd17cc64aeb8 from main
2021-10-27 12:17:21 +02:00
Mariusz Felisiak
27a64da821 [4.0.x] Bumped version for 4.0 beta 1. 4.0b1 2021-10-25 11:05:23 +02:00
David Wobrock
ea00a0843e [4.0.x] Fixed #31503 -- Made autodetector remove unique/index_together before altering fields.
Backport of 0314593fe8e7dc685bbb6585eee40e755588864e from main
2021-10-25 10:45:35 +02:00
Hasan Ramezani
c9ebe4ca4e [4.0.x] Fixed #33205 -- Made call_command() raise TypeError when dest with multiple arguments is passed.
Backport of c1e4111c74ee9d9f48cbee5a5b7c40289203c93d from main
2021-10-25 10:09:06 +02:00
Arkadiusz Adamski
ac815f6ea8 [4.0.x] Fixed #33210 -- Clarified docs for sitemaps ping_google() helper.
Backport of 1405dc78872f9d18180feebb4f2c57dbe1259acb from main
2021-10-21 20:27:53 +02:00
Mariusz Felisiak
a2e1cdc8ca [4.0.x] Fixed #33215 -- Confirmed support for GEOS 3.10.
Backport of 9231526af4b9825583b0d3cb943f88109fd30551 from main
2021-10-21 20:25:28 +02:00
Vinay Karanam
354bbf1fd2 [4.0.x] Fixed #33043 -- Made method_decorator() preserve wrapper assignments.
Regression in f434f5b84f7fcea9a76a551621ecce70786e2899.

Backport of 8806e8809e023017e6958b9fa0bbd960938e0a91 from main
2021-10-20 18:52:10 +02:00
David Smith
5d62beb61a [4.0.x] Refs #32956 -- Capitalized HTTP/HTTPS in comments, docs, and docstrings.
Backport of 7ef0bc922c0a78667ed8cbf5f85845b627ccbdf8 from main
2021-10-20 09:11:04 +02:00
Mariusz Felisiak
ea66d1f2ae [4.0.x] Refs #33207 -- Clarified that AUTH_USER_MODEL expects an app label.
Backport of fd881e8cd9b7686ab8fcd32332100710a8ffaa10 from main
2021-10-19 13:05:42 +02:00
David Smith
6aa917383f [4.0.x] Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.
Backport of 69b0736fad1d1f0197409ca025b7bcdf5666ae62 from main
2021-10-19 06:33:00 +02:00
sreehari1997
c067a2b68f [4.0.x] Fixed #33172 -- Added example of modifying upload handlers on the fly for CBVs.
Backport of e2f778d57947d168a875159e6df075255eea4bbc from main
2021-10-18 10:25:55 +02:00
Hannes Ljungberg
00aa3e0b9b [4.0.x] Fixed #33194 -- Fixed migrations when altering a field with functional indexes/unique constraints on SQLite.
This adjusts Expressions.rename_table_references() to only update alias
when needed.

Regression in 83fcfc9ec8610540948815e127101f1206562ead.

Co-authored-by: Simon Charette <charettes@users.noreply.github.com>

Backport of 86971c40909430a798e4e55b140004c4b1fb02ff from main
2021-10-18 09:36:21 +02:00
Nick Frazier
f5fd03aebe [4.0.x] Fixed #33198 -- Corrected BinaryField.max_length docs.
Backport of 0d4e575c96d408e0efb4dfd0cbfc864219776950 from main
2021-10-18 08:24:08 +02:00
Mariusz Felisiak
6a16d53039 [4.0.x] Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.
asyncore and smtpd modules were deprecated in Python 3.10.
Backport of 569a33579c3cca5f801c544d9b52a34e3c779424 from main
2021-10-15 09:58:53 +02:00
Martin Svoboda
dd8945d361 [4.0.x] Fixed #33008 -- Fixed prefetch_related() for deleted GenericForeignKeys.
Thanks Simon Charette for the implementation idea.

Backport of cc4cb95beff0b75ec169add7e94cc481624a41e6 from main
2021-10-14 13:07:24 +02:00
Mariusz Felisiak
8ab95364b5 [4.0.x] Refs #27131 -- Removed SMTPBackendTests.test_server_login().
test_server_login() was a regression test for a crash when passing
Unicode strings to SMTP server using CRAM-MD5 method on Python 2.
Python 2 is no longer supported and test_server_login() passes even
without FakeSMTPChannel.smtp_AUTH() because
smtplib.SMTPAuthenticationError is raised when AUTH is not implemented.
Backport of cdad96e6330cd31185f7496aaf8eb316f2773d6d from main
2021-10-14 11:37:53 +02:00
Mariusz Felisiak
7e5f3b5480 [4.0.x] Used :source: role in docs/howto/custom-template-tags.txt.
Backport of 94beb679a6448e2d88f9e088151a1af2e859d6de from main
2021-10-14 06:05:49 +02:00
Sih Sîng-hông薛丞宏
3e27ac131e [4.0.x] Doc'd a precise exception type in Paginator.page() docs.
Backport of 30d8932753cd0e414469f8da7ebe21e963737273 from main
2021-10-13 09:13:39 +02:00
Mariusz Felisiak
e8d8ee4a48 [4.0.x] Added 'formatter' to spelling wordlist.
Backport of e43a131887e2a316d4fb829c3a272ef0cbbeea80 from main
2021-10-12 15:16:36 +02:00
Christophe Henry
048fbf9c89 [4.0.x] Fixed #33178 -- Made createsuperuser validate required fields passed in options in interactive mode.
Backport of b1b26b37aff0c80d6abdf15c5ffdf0440a9a1d6a from main.
2021-10-12 08:43:56 +02:00
Christophe Henry
b55df4c74a [4.0.x] Refs #21755 -- Fixed createsuperuser crash for required foreign keys passed in options in interactive mode.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>

Backport of 4ff500f2948bfc332b3f4159021cad06e91943d3 from main
2021-10-12 07:43:17 +02:00
Mariusz Felisiak
224fa0bc7d [4.0.x] Refs #29628, Refs #33178 -- Made createsuperuser validate password against required fields passed in options.
Backport of da266b3c5ca4bb7581d7a3cc51bc820e78cf64f0 from main
2021-10-12 07:41:51 +02:00
Abhyudai
44d11e5b2c [4.0.x] Fixed #33149 -- Made test runner --pdb option work with subTest().
Thanks Lucidot for the report and Mariusz Felisiak for the initial
patch.
Backport of 7872971dfbb818177168e64c24a933e48ce01206 from main
2021-10-11 10:48:21 +02:00
Seonghyeon Cho
1aada25eeb [4.0.x] Refs #32900 -- Restored '[y/N]' in questioner prompt when merging migrations.
Regression in 02bc7161ec477afd4a7b328936eb8adac078d7b9.

Backport of aa0d796e37c4b8056148de2f68726aae9d20399c from main
2021-10-11 09:40:06 +02:00
Nick Frazier
fe97f8bb62 [4.0.x] Improved docs regarding UTF-8 support with Apache and mod_wsgi.
Backport of bf4be3711acfbfc765fb17dc238b1b9bbad5b7be from main
2021-10-08 15:50:00 +02:00
Christophe Henry
f2a59630f4 [4.0.x] Fixed #33151 -- Fixed createsuperuser crash for many-to-many required fields in non-interactive mode.
Backport of df2d2bc95c451c6366fd522a5a1e6ed84f459f31 from main
2021-10-07 13:11:18 +02:00