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
David Smith
fc325a1981
[4.0.x] Refs #31026 -- Improved BoundField.label_tag() docs.
...
Backport of 9be36f8044c3bdfe5d1819d4b3b62bee64a039e3 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 1c802ca2a9d3c66fb723695fe7ea597fb4802402 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 604df4e0adc71da264f61fe85020a170c98e6f09 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 15987c9c5315ac30f069915e28de78ade788458d 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 c113f7fb0dae0dfd066d05acd1032c9f57a5aaf9 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 c5776bfca9e3f35e0ab5aacbdc1a4dbfe92fdfd1 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 cd6bddd44e0a1c3c6a96a3677f8366ef0e4b6782 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 d400b08a8baa697905daadd47a6ba12336e93336 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 1953dd02b6719ee89fddbc3098d86968d79f3cd7 from main
2021-10-04 07:44:15 +02:00
Nick Pope
fbcd7df120
[4.0.x] Fixed SpGistIndex tests on PostgreSQL 14+.
...
Backport of dd26362f6312e7ba7b04099b5285d8e1d2900e63 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 98c8bf1ceeab5c68751c83555f82cff1a9120a67 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 7b8beeee3d45cafd7bec7ff3ee0e4371e142c36d 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 e441847ecae99dd1ccd0d9ce76dbcff51afa863c.
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 903aaa35e5ceaa33bfc9b19b7f6da65ce5a91dd4 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 dd1fa3a31b4680c0d3712e6ae122b878138580c7 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 ad36a198a12df4dff65992191b3eb0a474e2daac 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 9466fd78420a851460c92673dad50a5737c75b12 from main
2021-09-29 12:43:27 +02:00
Chenyang Yan
ee79fe0f8e
[4.0.x] Fixed #33027 -- Made autoreloader pass -X options.
...
Backport of 36d54b7a142689e0f882338159bca879d8b6d783 from main
2021-09-29 12:04:45 +02:00
David Smith
0b62518ff4
[4.0.x] Fixed #33134 -- Fixed recursion depth error when rendering Form with BoundFields.
...
Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
Backport of 4884a87e022056eda10534c13d74e49b8cdda632 from main
2021-09-29 10:55:01 +02:00
Chinmoy Chakraborty
6f31041794
[4.0.x] Fixed #33033 -- Prevented models.DecimalField from accepting NaN values.
...
Backport of b7fd668b37341fc92d67c4854c4f244e10895c9b from main
2021-09-28 13:57:45 +02:00
Mariusz Felisiak
a9479202d7
[4.0.x] Corrected field and model check messages in docs.
...
Follow up to 72d04e03855536cf36090aedbb7aa8f1c4c8b443.
Backport of 93f3b7a0ba2969109940775a18515728603afac6 from main
2021-09-28 10:57:54 +02:00
Claude Paroz
80de140b06
[4.0.x] Removed obsolete GEOS 3.5 requirement note.
...
Follow up to ea87a85fad9994dbb0748df25bc9c2d99b24809b.
Backport of 8036b53de61f16098a2f22c50621987182bdfaed from main
2021-09-24 18:52:37 +02:00
Jaap Roes
25cfa5db0f
[4.0.x] Fixed #33130 -- Restored form errors to be a dict.
...
Regression in 456466d932830b096d39806e291fe23ec5ed38d5.
Backport of 7fe9b6f6df16fa875fe360a1c7d0ac53fcf08a53 from main
2021-09-24 12:14:11 +02:00
Jaap Roes
5d36af6f6f
[4.0.x] Fixed #33132 -- Fixed test client handling of querystring only redirects.
...
Regression in 1e5aa8e1c79252cc810af21294a6e945d11d37b3.
Backport of b1bf8c8a4ba04049dc19217bf0e876488a4fae3c from main
2021-09-24 08:23:41 +02:00
Mariusz Felisiak
715aa2db67
[4.0.x] Fixed #33133 -- Fixed handling NullBooleanField in historical migrations.
...
Regression in d992f4e3c29a81c956d3d616f0bc19701431b26e.
Backport of 3b9fe906bf28d2e748ce4d9a1af5fbcd5df48946 from main
2021-09-23 10:37:14 +02:00
Jero Bado
1350187f8e
[4.0.x] Fixed typo in 4.0 release notes.
...
Backport of 3f2170f720fe1e2b1030887684c18dc2fc20116b from main
2021-09-22 15:17:40 +02:00
Joel Farthing
bc0cc82101
[4.0.x] Fixed #33128 -- Corrected possessive 's usage in FormSet docs.
...
Backport of 2f144323756fc6f8517e357c540f3570356d9eba from main
2021-09-22 11:56:40 +02:00
Mariusz Felisiak
1190a931d5
[4.0.x] Bumped version for 4.0 alpha 1 release.
4.0a1
2021-09-21 20:19:19 +02:00