Commit Graph

27397 Commits

Author SHA1 Message Date
Mariusz Felisiak e5d3f3b83c [3.0.x] Fixed typo in docs/topics/files.txt.
Backport of bf7b3e2750 from master
2019-10-29 16:09:30 +01:00
Adam Johnson c5ccd20865 [3.0.x] Documented the order in which signal receivers are called.
Backport of ab0fd3f58f from master
2019-10-28 13:31:48 +01:00
Mariusz Felisiak 76964cce20 [3.0.x] Refs #30908 -- Fixed the empty value of forms.FilePathField in docs.
Backport of daa9415f78 from master
2019-10-25 11:22:59 +02:00
Carlton Gibson 8740ff334a [3.0.x] Fixed #30902 -- Added __str__() for model choice enums.
Allows expected behavior when cast to str, also matching behaviour of
created instances with those fetched from the DB.

Thanks to Simon Charette, Nick Pope, and Shai Berger for reviews.

Backport of dbcd7b064e from master
2019-10-25 09:38:41 +02:00
Saad 495cdd6add [3.0.x] Fixed #30904 -- Doc'd caveat about using filtered queryset with select_for_update() on MySQL.
Backport of fc2b1cc926 from master
2019-10-25 09:00:20 +02:00
Hasan Ramezani 6df42e6187 [3.0.x] Fixed #30906 -- Fixed an example of using the template system to generate CSV.
Backport of 05c3ef26a2 from master
2019-10-25 08:12:15 +02:00
Bastien Vallet 2c397f35ed [3.0.x] Refs #29926 -- Added Python 3.8 to classifiers and tox.ini.
Backport of 37f02c47f8 from master
2019-10-24 13:09:56 +02:00
Carlton Gibson 06e3c6db86 [3.0.x] Fixed #30900 -- Skipped async-related tests on Windows using Python 3.8.0.
Refs https://bugs.python.org/issue38563.
Backport of e83c300a33 from master
2019-10-24 10:43:37 +02:00
Hannes Ljungberg 318d186d7e [3.0.x] Fixed #30903 -- Fixed migrations crash on PostgreSQL when adding Index with opclasses and ordering.
Backport of fa5f3291e7 from master
2019-10-24 09:51:33 +02:00
Mariusz Felisiak b3e8dafe06 [3.0.x] Added tblib to the list of test suite dependencies in documentation.
Backport of 2a54ce72f9 from master
2019-10-23 15:27:02 +02:00
Mariusz Felisiak 517d31516a [3.0.x] Refs #29926 -- Bumped minimum tblib version to 1.5.0 in test requirements.
Backport of 25903e41fb from master
2019-10-23 15:26:54 +02:00
Mariusz Felisiak 753a34b42a [3.0.x] Refs #29926 -- Skipped RemoteTestResultTest.test_add_failing_subtests() on Python 3.8+ and tblib <= 1.4.0.
Backport of 2847d2c760 from master
2019-10-22 15:34:44 +02:00
Antonio Dudarev 213a39b4df [3.0.x] Refs #13724 -- Corrected QuerySet signature in docs.
Backport of 6c23b43655 from master
2019-10-22 14:24:10 +02:00
Mariusz Felisiak 336c9cb7f4 [3.0.x] Fixed #30562 -- Doc'd MariaDB support for GIS spatial lookups.
Backport of 1c5ec221a4 from master
2019-10-16 16:34:47 +02:00
Mariusz Felisiak 8047961d7c [3.0.x] Refs #28436 -- Corrected docs regarding MySQL support of distance lookups.
Backport of 440603a4bc from master
2019-10-16 14:40:16 +02:00
Mariusz Felisiak 76e159e2c3 [3.0.x] Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
Backport of 5becb36a79 from master
2019-10-16 13:57:04 +02:00
Mariusz Felisiak 74c5ddc657 [3.0.x] Refs #27910 -- Added __init__.py file for model_enums tests.
Backport of 1877ec1875 from master
2019-10-15 21:28:17 +02:00
Carlton Gibson aba6fef430 [3.0.x] Moved "Sign the CLA" to the bottom of New Contributor First Steps.
As discussed on the mailing list, step 1 of First Steps shouldn't be
"Find a printer".

https://groups.google.com/d/topic/django-developers/owOqFmxufgs/discussion
Backport of adfd920cc5 from master
2019-10-15 14:11:11 +02:00
Ad Timmering 18631226da [3.0.x] Fixed #30816 -- Doc'd how to create projects with a local copy of Django.
Backport of dee687e93a from master
2019-10-15 12:54:44 +02:00
Graham Healy 9adb80efee [3.0.x] Fixed #30808 -- Added the Django Forum to contributing index.
Backport of 90abdba086 from master
2019-10-15 09:08:08 +02:00
Simon Charette 8d196e6fea [3.0.x] Refs #26207 -- Removed obsolete note about slow constructing a model with deferred fields.
This is not true since 7f51876 removed the necessity of creating
proxy model classes at runtime for each deferred field sets.
Backport of 35396a7f24 from master
2019-10-14 12:53:03 +02:00
Mariusz Felisiak e17e19cfa4 [3.0.x] Bumped version for 3.0 beta 1. 2019-10-14 12:00:20 +02:00
Mariusz Felisiak bf8c562209 [3.0.x] Updated man page for Django 3.0 beta. 2019-10-14 11:55:27 +02:00
Mariusz Felisiak 4a756cbc38 [3.0.x] Fixed #30870 -- Fixed showing that RunPython operations are irreversible by migrate --plan.
Thanks Hasan Ramezani for the initial patch and Kyle Dickerson for the
report.

Backport of 06d34aab7c from master
2019-10-14 11:43:15 +02:00
Mariusz Felisiak 4a263af64e [3.0.x] Isolated migrations.test_commands.MigrateTests.test_migrate_plan.
Backport of 05186c03a3 from master
2019-10-14 11:43:06 +02:00
Simon Charette bab3ad54ff [3.0.x] Fixed #30868 -- Prevented unnecessary AlterField when renaming a referenced pk.
Regression introduced by dcdd219ee1, refs #25817.

Thanks Carlos E. C. Leite for the report and Mariusz for the bisect.

Backport of 2839659b42 from master
2019-10-14 08:27:36 +02:00
René Fleschenberg e0a869b208 [3.0.x] Clarified that SECURE_REDIRECT_EXEMPT patterns should not include leading slashes.
Backport of d232fd76a8 from master
2019-10-11 16:07:05 +02:00
Etienne Chové 651299e1ef [3.0.x] Fixed #30014 -- Fixed ModelChoiceField validation when initial value is a model instance.
Thanks Carlton Gibson for reviews.

Backport of e7cdb0cd7e from master
2019-10-11 14:33:32 +02:00
Etienne Chové 82ba905db3 [3.0.x] Added ModelChoiceField test for validation with to_field_name.
Backport of a12f9cd95a from master
2019-10-11 14:33:16 +02:00
Louise Grandjonc cf7ef5d258 [3.0.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand side is key transform.
Regression in 6c3dfba892.

Backport of 7d1bf29977 from master
2019-10-11 11:51:14 +02:00
Hasan Ramezani c1cfec6b50 [3.0.x] Fixed #30854 -- Fixed QuerySet.select_related() with multiple FilteredRelations.
Backport of 6a75cea76a from master.
2019-10-11 09:18:23 +02:00
Mariusz Felisiak 0dede9e981 [3.0.x] Fixed typos in docs/releases/3.0.txt.
Backport of 2a6f45e08e from master
2019-10-10 14:25:41 +02:00
Kees Hink fffce1ac4c [3.0.x] Fixed #27086 -- Doc'd fix for test suite hang on macOS.
Backport of 5d9cf79baf from master
2019-10-09 15:49:19 +02:00
Carlton Gibson 6801166a30 [3.0.x] Added note to check Python version in unit tests troubleshooting section.
At DjangoCon US 2019 sprints, a number of contributors hit problems with an outdated Python.

Backport of 06e087c3de from master
2019-10-09 15:49:09 +02:00
Carlton Gibson 7ded25d713 [3.0.x] Corrected section indentation in unit tests contributor docs.
Backport of b39c39e82a from master
2019-10-09 15:48:58 +02:00
Mac Chapman 56061decff [3.0.x] Fixed #11097 -- Added note about parent link fields in formsets for multi-table inheritance models.
Backport of 0b7378db1f from master
2019-10-09 12:54:45 +02:00
Carlton Gibson 71489a522a [3.0.x] Fixed #30858 -- Clarified that AdminEmailHandler processes all 5xx responses.
Backport of 94eae4e563 from master
2019-10-09 10:16:03 +02:00
Caio Ariede 7d8d2b56be [3.0.x] Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.
Backport of dafdfd6a60 from master
2019-10-08 12:32:25 +02:00
Hasan Ramezani 7c70aa8f63 [3.0.x] Fixed #30839 -- Fixed Field.__deepcopy__() so forms don't share error messages.
Backport of a28d1b38e5 from master
2019-10-08 10:28:30 +02:00
Caio Ariede 282138a7bb [3.0.x] Fixed #28273 -- Doc'd fast nullable column creation with defaults.
Backport of 06909fe084 from master
2019-10-07 14:37:16 +02:00
Tamer Sherif 3ea957b543 [3.0.x] Refs #10348 -- Doc'd that ModelAdmin ignores list_select_related when QuerySet.select_related() was already called.
Backport of e3f647f4d5 from master
2019-10-07 11:10:38 +02:00
Katie McLaughlin 4917b53e50 [3.0.x] Made minor edits and small fixes to docs/faq/install.txt.
Backport of f52022ad96 from master
2019-10-04 11:38:50 +02:00
Katie McLaughlin 717d845737 [3.0.x] Fixed #30834 -- Added explicit list of supported databases to the databases docs.
Backport of 9dca904a5b from master
2019-10-03 19:48:45 +02:00
Hasan Ramezani 30271a47da [3.0.x] Refs #27914 -- Fixed serialization of nested enum.Enum classes in migrations.
Backport of 6452112640 from master
2019-10-03 11:17:10 +02:00
Hasan Ramezani 1a4db2cc28 [3.0.x] Refs #27914 -- Moved test enum.Enum subclasses outside of WriterTests.test_serialize_enums().
Backport of d3030deaaa from master
2019-10-03 11:17:04 +02:00
Mar Sánchez 9fa6c737df [3.0.x] Refs #15396 -- Mentioned full path to GZipMiddleware in documentation.
Backport of f1d4a540b2 from master
2019-10-02 14:59:04 +02:00
Katherine Michel b6da3192c0 [3.0.x] Refs #30010 -- Doc'd running tests with django-docker-box.
Backport of f7eb9fb676 from master
2019-10-02 14:00:48 +02:00
Carlton Gibson b0b98fcacf [3.0.x] Refs #28699 -- Clarified CSRF middleware ordering in relation to RemoteUserMiddleware.
Backport of 9446950470 from master
2019-10-02 13:11:33 +02:00
Sjbrgsn 516200c09e [3.0.x] Fixed #30817 -- Clarified return value of Sitemap.items().
Backport of 7b3c06cd72 from master
2019-10-02 12:16:48 +02:00
Mariusz Felisiak 2624653bef [3.0.x] Added stub release notes for 1.11.26 and 2.1.14.
Backport of 84322a29ce from master
2019-10-02 07:55:19 +02:00