1
0
mirror of https://github.com/django/django.git synced 2025-04-10 00:09:41 +00:00

27432 Commits

Author SHA1 Message Date
Mariusz Felisiak
76e159e2c3 [3.0.x] Refs #22423 -- Corrected crosses lookup support on MySQL in documentation.
Support was added in 15715bf.
Backport of 5becb36a79a0c31c7cc9e76237239ebd0fdda18d 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 1877ec18753947795b7821f8b9176bd7ea7c03a3 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 adfd920cc5f932b9cabc8061563088016a8dfe13 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 dee687e93a2d45e9fac404be2098cc4707d31c1f 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 90abdba08657db397f1887b94ec1ebdc32783379 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 35396a7f243eceec42cc90725ab573a7d9ac3b4c from master
2019-10-14 12:53:03 +02:00
Mariusz Felisiak
e17e19cfa4 [3.0.x] Bumped version for 3.0 beta 1. 3.0b1 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 06d34aab7cfb1632a1538a243db81f24498525ff 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 05186c03a30686f4898c1cb9acf4b8613035afcc 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 2839659b42ef80038152768b6cedae1016c59d90 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 d232fd76a85870daf345fd8f8d617fe7802ae194 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 e7cdb0cd7eb5eb677af8dae7bfc6845186f861b0 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 a12f9cd95a24573612daaf844ec97d4aed12446d 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 6c3dfba89215fc56fc27ef61829a6fff88be4abb.

Backport of 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 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 6a75cea76a98c08bf2e20d787be9b14c2cd94860 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 2a6f45e08e8cb8c7e5157915c378b453109424d2 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 5d9cf79baf07fc4aed7ad1b06990532a65378155 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 06e087c3ded703b334a4d7c74a882212774253bc 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 b39c39e82ae12ca92686ee97a7be2958ee667e5c 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 0b7378db1fdd7bfc7b78089811b3abb722c4ba95 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 94eae4e5633fbf21f5dcae6e0472ce6a51dd3411 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 dafdfd6a60638c4edcca7c4e65d11c0af654d759 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 a28d1b38e55cf588cfaae97de6a575d5c9f90a96 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 06909fe084f87a65459a83bd69d7cdbe4fce9a7c 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 e3f647f4d5fc414f8cb7ab58df5e61a19908c63f 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 f52022ad96356d4b1061610f2b74ea4d1956a608 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 9dca904a5bf37ee9ad015212b17a9929ab8952cd 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 6452112640081ac8838147a8ba192c45879203d8 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 d3030deaaa50b7814e34ef1e71f2afaf97c6bec6 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 f1d4a540b29c6766b988852bc302ac036a2d82e2 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 f7eb9fb676d7afba16fc577283610b359718e644 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 94469504706b494877b6bb45a979bcb81c7fd7be 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 7b3c06cd72e691ffd932ccce338701c37297a415 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 84322a29ce9b0940335f8ab3d60e55192bef1e50 from master
2019-10-02 07:55:19 +02:00
Mariusz Felisiak
40efffafd9 [3.0.x] Fixed typo in BulkInsertMapper constant name.
Backport of 67e7dffe9543aff259f63c8f12d15642fe7be100 from master
2019-10-01 14:59:27 +02:00
Ahmet Kucuk
9dc13f41b5 [3.0.x] Fixed #30510 -- Fixed crash of QuerySet.bulk_create() with mixed-length texts on Oracle.
Text with more than 4000 characters must be set to as a CLOB on Oracle
what caused a mixed datatype error (ORA-01790) when shorter text
appeared in the same operation.

Backport of dc890bef5ad8e9fccce55f3e64af72103ea6e8c1 from master
2019-10-01 13:11:19 +02:00
Carlton Gibson
a135e1e16e [3.0.x] Added stub release notes for 2.2.7.
Backport of e1c1eaf0c6f4d3d2f60513d20aa9b84b17d096ec from master
2019-10-01 10:44:49 +02:00
Carlton Gibson
848abaab62 [3.0.x] Added release dates for 2.2.6, 2.1.13, and 1.11.25.
Backport of 3826aed46d7d4310c2ab6777a4f92165ca4d8d4f from master
2019-10-01 08:50:43 +02:00
Ad Timmering
556d0c08bd [3.0.x] Fixed #28690 -- Fixed handling of two-digit years in parse_http_date().
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.

Backport of 7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c from master
2019-09-30 15:39:36 +02:00
Ad Timmering
f38655ed1c [3.0.x] Refs #28690 -- Added more tests for parse_http_date().
Backport of 7cbd25a06e820cbd1a0bfbc339fb7d9a737c54fa from master
2019-09-30 15:39:28 +02:00
Hasan Ramezani
df0c2ac358 [3.0.x] Fixed #30774 -- Made serialization in migrations use members names for Enums.
Backport of f0adf3b9b7a19cdee05368ff0c0c2d087f011180 from master
2019-09-30 10:52:30 +02:00
David Vaz
30a613aff3 [3.0.x] Doc'd that migrate commmand accepts a unique migration name prefix.
Backport of e02f67ef2d03d48128e7a118bf75f0418e24e8ac from master
2019-09-30 09:47:29 +02:00
pablo
5d63bf0bc3 [3.0.x] Fixed #30802 -- Prevented manifest creation when running collectstatic in dry run mode.
Backport of fa8fe09e4e2b538c5d50a559081861d5c0635d55 from master
2019-09-27 23:06:55 +02:00
David Vaz
0c655f1df2 [3.0.x] Fixed #30597 -- Clarified how to unapply migrations.
Backport of 45554fd5c5c6a536db3ce70d78646d3dc398cf08 from master
2019-09-27 22:40:29 +02:00
David Vaz
5d40de0856 [3.0.x] Refs #30597 -- Added a warning about dependent apps when unapplying migrations.
Backport of abba563c8635a52e8b657dee7708202e1f69433c from master
2019-09-27 20:09:28 +02:00
Hasan Ramezani
0dc39ca867 [3.0.x] Fixed #30798 -- Fixed Meta.ordering validation for pk of related fields.
Regression in 440505cb2cadbe1a5b9fba246bcde6c04f51d07e.

Backport of 95a11578ce41de1e152fe7d173f109e280aebd6d from master
2019-09-27 14:52:08 +02:00
Hasan Ramezani
da8f85aa82 [3.0.x] Refs #30798 -- Prevented chaining fields from the same related model multiple times in model Meta.ordering.
Backport of c7944628a1979453468d67818c63957532d396d8 from master
2019-09-27 14:52:02 +02:00
Glenn
311177d5d1 [3.0.x] Fixed #27921 -- Clarified usage of make_aware() with is_dst argument.
Backport of c2678e49759e5c4c329bff0eeca2886267005d21 from master
2019-09-27 09:56:06 +02:00
Pablo García
49dcb5d3ba [3.0.x] Fixed #30810 -- Fixed WatchmanReloaderTests.test_setting_timeout_from_environment_variable test.
client_timeout is an instance attribute.

Backport of 2fd610eb301dc01e100befed891e8007fd2e981f from master
2019-09-27 08:35:55 +02:00