Commit Graph

30180 Commits

Author SHA1 Message Date
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 447b6c866f 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 0da7a2e9da from main
2021-11-03 18:45:54 +01:00
Adam Johnson b3be91dabf [4.0.x] Corrected module reference in contributing tutorial.
Backport of 9f3bd9dfc4 from main
2021-11-03 07:47:44 +01:00
Brad ccc4503a82 [4.0.x] Fixed typo in docs/topics/logging.txt.
Backport of c7152cb58e 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 aa4acc164d.

Thanks Kevin Marsh for the report.
Backport of dab48b7482 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 d811fa1d10 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 7ec603ba25 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 125f9afc2c 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 a754b82dac from main
2021-10-27 12:17:21 +02:00
Mariusz Felisiak 27a64da821 [4.0.x] Bumped version for 4.0 beta 1. 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 0314593fe8 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 c1e4111c74 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 1405dc7887 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 9231526af4 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 f434f5b84f.

Backport of 8806e8809e 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 7ef0bc922c 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 fd881e8cd9 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 69b0736fad 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 e2f778d579 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 83fcfc9ec8.

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

Backport of 86971c4090 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 0d4e575c96 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 569a33579c 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 cc4cb95bef 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 cdad96e633 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 94beb679a6 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 30d8932753 from main
2021-10-13 09:13:39 +02:00
Mariusz Felisiak e8d8ee4a48 [4.0.x] Added 'formatter' to spelling wordlist.
Backport of e43a131887 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 b1b26b37af 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 4ff500f294 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 da266b3c5c 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 7872971dfb 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 02bc7161ec.

Backport of aa0d796e37 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 bf4be3711a 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 df2d2bc95c from main
2021-10-07 13:11:18 +02:00
David Smith fc325a1981 [4.0.x] Refs #31026 -- Improved BoundField.label_tag() docs.
Backport of 9be36f8044 from main
2021-10-07 06:11:51 +02:00
Maxim Milovanov f6c7e75cdf [4.0.x] Fixed #33156 -- Used sessionStorage to preserve quick filter for admin's navigation sidebar.
Backport of 1c802ca2a9 from main
2021-10-06 09:02:45 +02:00
Mariusz Felisiak ab07cb4b54 [4.0.x] Refs #32074 -- Doc'd Python 3.10 compatibility in Django 3.2.x.
Backport of 604df4e0ad from main.
2021-10-05 13:31:57 +02:00
Mariusz Felisiak c8d0a8c9b6 [4.0.x] Refs #32074 -- Added Python 3.10 to classifiers and tox.ini.
Backport of 15987c9c53 from main
2021-10-05 09:59:48 +02:00
Carlton Gibson 263a4bab37 [4.0.x] Added stub release notes for Django 3.2.9.
Backport of c113f7fb0d from main
2021-10-05 09:39:48 +02:00
Carlton Gibson 6a852b937c [4.0.x] Added release date for 3.2.7.
Backport of c5776bfca9 from main
2021-10-05 09:08:29 +02:00
Jacob Walls 515d3c591c [4.0.x] Fixed #22224 -- Added note about supplying missing values for non-nullable fields with blank=True.
Backport of cd6bddd44e from main
2021-10-05 06:37:59 +02:00
Hannes Ljungberg 816e809302 [4.0.x] Fixed #32888 -- Doc'd that select_for_update() only locks tables with selected columns.
Backport of d400b08a8b from main
2021-10-04 10:21:08 +02:00
Sarah Abderemane 7fa946c76b [4.0.x] Refs #27694 -- Doc'd lookups that can be chained with HStoreField key transforms.
Backport of 1953dd02b6 from main
2021-10-04 07:44:15 +02:00
Nick Pope fbcd7df120 [4.0.x] Fixed SpGistIndex tests on PostgreSQL 14+.
Backport of dd26362f63 from main
2021-10-01 09:43:32 +02:00
Daniel Hahler 81bb0ae221 [4.0.x] Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on PostgreSQL.
Backport of 98c8bf1cee from main
2021-10-01 07:24:45 +02:00
Aljaž Košir 0a49276065 [4.0.x] Fixed #33155 -- Made ModelChoiceIteratorValue instances hashable.
Backport of 7b8beeee3d from main
2021-09-30 12:09:24 +02:00
Mariusz Felisiak 93a42d43a6 [4.0.x] Fixed #33159 -- Reverted "Fixed #32970 -- Changed WhereNode.clone() to create a shallow copy of children."
This reverts commit e441847eca.

A shallow copy is not enough because querysets can be reused and
evaluated in nested nodes, which shouldn't mutate JOIN aliases.

Thanks Michal Čihař for the report.
Backport of 903aaa35e5 from main
2021-09-30 11:26:53 +02:00
David Wobrock b2a0978610 [4.0.x] Fixed #33018 -- Fixed annotations with empty queryset.
Thanks Simon Charette for the review and implementation idea.

Backport of dd1fa3a31b from main
2021-09-29 20:53:16 +02:00
David Wobrock aab76433ed [4.0.x] Fixed #33141 -- Renamed Expression.empty_aggregate_value to empty_result_set_value.
Backport of ad36a198a1 from main
2021-09-29 20:52:59 +02:00
Victor Sowa cebac15931 [4.0.x] Recommended using .tables on SQLite in tutorial 2.
Backport of 9466fd7842 from main
2021-09-29 12:43:27 +02:00