1
0
mirror of https://github.com/django/django.git synced 2025-04-05 05:56:42 +00:00

27462 Commits

Author SHA1 Message Date
Claude Paroz
4afa0e5d2a [3.0.x] Updated contrib translations from Transifex 2019-12-02 09:49:04 +01:00
Claude Paroz
71ec95345c [3.0.x] Updated core translations from Transifex 2019-12-02 09:49:03 +01:00
Carlton Gibson
5fca551f12 [3.0.x] Removed issue reporter name from 2.1.15 and 2.2.8 release notes.
Backport of 368b8d20aaa16f0ef763759a0a87d986ef460584 from master
2019-12-02 09:48:14 +01:00
Carlton Gibson
46491e8095 [3.0.x] Added release dates for 2.1.15, 2.2.8 and 3.0.
Backport of e31d1852671866f6e52d55f9b7925ecad711fcf5 from master
2019-12-02 09:11:31 +01:00
Carlton Gibson
092cd66cf3 Fixed CVE-2019-19118 -- Required edit permissions on parent model for editable inlines in admin.
Thank you to Shen Ying for reporting this issue.
2019-12-02 08:57:44 +01:00
Mariusz Felisiak
db0cc4ae96 [3.0.x] Refs #30953 -- Added 2.1.15 release note for 0107e3d1058f653f66032f7fd3a0bd61e96bf782.
Backport of 39e39d0ac1b720e7460ec8ccf45926c78edb2047 from master
2019-12-02 08:12:10 +01:00
Mariusz Felisiak
f4ed6800bd [3.0.x] Fixed #30953 -- Made select_for_update() lock queryset's model when using "self" with multi-table inheritance.
Thanks Abhijeet Viswa for the report and initial patch.
Backport of 0107e3d1058f653f66032f7fd3a0bd61e96bf782 from master
2019-12-02 07:58:04 +01:00
Mariusz Felisiak
ca9144a4a8 [3.0.x] Fixed #31021 -- Fixed proxy model permissions data migration crash with a multiple databases setup.
Regression in 98296f86b340c8c9c968375d59f1d3a3479e60c2.

Backport of e8fcdaad5c428878d0a5d6ba820d957013f75595 from master
2019-11-29 11:10:36 +01:00
Baptiste Mispelon
81ddf4b164 [3.0.x] Fixed #31029 -- Used more specific links to RFCs.
Backport of ff1b19da6761217ed1b14cc7e94c6438903565d8 from master
2019-11-28 07:59:46 +01:00
Baptiste Mispelon
c0fe08d470 [3.0.x] Refs #31029 -- Added note about :rfc: role in writing documentation docs.
Backport of 42df1b178b22d499986516b5d3d6bb70c044901a from master
2019-11-28 07:59:39 +01:00
Mariusz Felisiak
1decf29a3e [3.0.x] Fixed #31018 -- Removed django-nonrel in NoSQL databases FAQ.
Backport of a36f7ed6ac5b2529db7e13fd3754290484928b18 from master
2019-11-27 07:37:32 +01:00
Adam Johnson
0dd8c438aa [3.0.x] Improved custom MultiWidget example in docs.
Backport of 7742cc0c8f620f7b65b02b5018a5f7078325d467 from master
2019-11-26 18:35:45 +01:00
Sergey Fedoseev
314ad45c09 [3.0.x] Used 🎫 role in all tickets links.
Backport of abc51d44afcb8482c64c0bb8c1022f11e7eb2bbb from master
2019-11-26 14:43:27 +01:00
Baptiste Mispelon
3ed55606c4 [3.0.x] Fixed #31031 -- Fixed data loss in admin changelist view when formset's prefix contains regex special chars.
Regression in b18650a2634890aa758abae2f33875daa13a9ba3.

Backport of 52936efacec4df05df2d9872c09c3332335bf21b from master
2019-11-26 09:19:19 +01:00
Sergey Fedoseev
b3ffa0d51d [3.0.x] Updated link to IBM DB2 backend.
See https://github.com/ibmdb/python-ibmdb/pull/375
Backport of 5573a54d409bb98b5c5acdb308310bed02d392c2 from master
2019-11-25 21:00:13 +01:00
John Bowen
b6cbc88f26 [3.0.x] Fixed #27914 -- Fixed serialization of nested classes in migrations.
Backport of 29d8198841ea39af44f3bc835d646e642d498475 from master
2019-11-25 11:27:15 +01:00
John Bowen
ba5760965e [3.0.x] Refs #23950 --- Moved test DeconstructibleInstances class to a module level.
DeconstructibleInstances was not importable from the asserted path.

Backport of 8008795a3899d979d65832ca7c4946903de206f7 from master
2019-11-25 11:27:09 +01:00
Baptiste Mispelon
641deb4d50 [3.0.x] Fixed #31025 -- Fixed highlightlinenothreshold deprecation warning on Sphinx 1.8+.
Backport of 89d41cba392b759732ba9f1db4ff29ed47da6a56 from master
2019-11-25 10:34:21 +01:00
Sergey Fedoseev
c332f89dc6 [3.0.x] Doc'd SpatiaLite support of 3D geometry fields.
Support was added in 65129aac07022f23afa1df7ec7fad2216634cb38.

Backport of 85c598900772a00aee2ad4a20e3f3854f1c87fbd from master
2019-11-25 09:31:33 +01:00
Baptiste Mispelon
76e0846c90 [3.0.x] Fixed #28469 -- Doc'd how to create a custom HttpResponse subclass.
Backport of 9f1ec9efc35bbb375c9cebb3e0d8c1b7be838338 from master
2019-11-25 08:35:33 +01:00
Carlton Gibson
947f8e3485 [3.0.x] Fixed #31012 -- Reverted "Fixed #29056 -- Fixed HTML5 validation of required SelectDateWidget."
This reverts commit f038214d917c982613f5a15db8dfe325b1f7479b.

The initial issue was incorrect. Django 2.2, and before, did not
generate invalid HTML as reported. With f03821 in place invalid HTML
was generated.

Thanks to Kevin Brown for follow-up report and investigation.
Backport of ee4a19053a32d41cdd79e087b1968980804ce658 from master
2019-11-21 21:06:07 +01:00
Hasan Ramezani
6e3ef98413 [3.0.x] Fixed #30625 -- Doc'd cache.get()/delete() behavior change in Django 2.2.
Backport of f69b32782e21642c6184162d888fcc17dd1dd85e from master
2019-11-21 10:54:46 +01:00
Sergey Fedoseev
409cd7b944 [3.0.x] Made versionadded/versionchanged annotations without a content end with ".".
Regression in d2afa5eb2308e672b6313876856e32e2561b90f3.
Backport of 5032556483f16b0b5f182e393eb5c6548fc505be from master
2019-11-21 09:03:44 +01:00
Mariusz Felisiak
ae2e13504b [3.0.x] Fixed #31008 -- Fixed typos in docs/topics/logging.txt.
Backport of 3e5b349535f011a51dc308898924786143000631 from master
2019-11-20 20:36:20 +01:00
Carlton Gibson
0e58745716 [3.0.x] Pinned asgiref to 3.2 series.
Backport of 36453526d3e1a5829864f106d6baa0ebdb20537e from master
2019-11-20 15:13:28 +01:00
Caio Ariede
5f24b18e6c [3.0.x] Fixed #27164 -- Fixed an example of using routers in multiple databases docs.
Make sure that AuthRouter includes ContentType in the same database.

Backport of 608e06023e6eaf75f744134a0fd203853260e616 from master
2019-11-20 11:51:33 +01:00
Mariusz Felisiak
2ef484ba3b [3.0.x] Added stub release notes for 2.1.15.
Backport of e9def97d1095efed15a109d82fe0498ebd56fa04 from master
2019-11-19 12:44:43 +01:00
Hasan Ramezani
895c0889e4 [3.0.x] Fixed #30999 -- Fixed typo in docs/howto/custom-template-tags.txt.
Backport of 33eecfa7405ea997669f8edb61c596c3f295c793 from master
2019-11-19 10:09:27 +01:00
Luke Plant
e9005d693c [3.0.x] Expanded API stability docs to include our policy of continual improvement.
Backport of 5cef2cd4a10e51035e2728e3e5e59265bc0347e0 from master
2019-11-18 21:39:30 +01:00
Baptiste Mispelon
1c75af9090 [3.0.x] Fixed #30990 -- Fixed example output in 'z' date format docs.
Backport of 1185c6172b4dd5482b7bc76b12d7a0588320e027 from master
2019-11-18 12:04:23 +01:00
Mariusz Felisiak
7a9dcd30b8 [3.0.x] Bumped version for 3.0 release candidate 1. 3.0rc1 2019-11-18 09:32:37 +01:00
Mariusz Felisiak
b582d00c75 [3.0.x] Updated man page for Django 3.0 release candidate 1. 2019-11-18 09:27:41 +01:00
Mariusz Felisiak
b6be0699b9 [3.0.x] Fixed #30986 -- Fixed queryset crash when filtering against boolean RawSQL expressions on Oracle.
Backport of 8685e764efd2957085762d9249e07794d9a58dcb from master
2019-11-18 09:16:21 +01:00
George Marshall
fa6076daf4 [3.0.x] Fixed #30971 -- Prevented Query.resolve_lookup_value() from coercing list values to tuples.
Regression in 8a281aa7fe76a9da2284f943964a9413697cff1f.

Backport of 8be79984dce7d819879a6e594ca69c5f95a08378 from master
2019-11-13 09:20:50 +01:00
Mariusz Felisiak
9ad38d4089 [3.0.x] Refs #29926 -- Doc'd Python 3.8 compatibility in Django 2.2.x.
Backport of b93a0e34d9b9b99d41103782b7e7aeabf47517e3 from master.
2019-11-12 22:13:54 +01:00
Mariusz Felisiak
f375ad95fa [3.0.x] Added stub release notes for 2.2.8 release.
Backport of 30359496a3f3d9af0b02afc334710f7e24c74f5b from master
2019-11-12 14:42:15 +01:00
David Foster
c598ffd2e1 [3.0.x] Fixed #30828 -- Added how to remove/insert many-to-many relations in bulk to the database optimization docs.
Backport of 6a04e69e686cf417b469d7676f93c2e3a9c8d6a3 from master
2019-11-12 13:13:20 +01:00
Hannes Ljungberg
8d3f43f7a9 [3.0.x] Fixed #30967 -- Fixed TrigramTest failures on PostgreSQL 12+.
Backport of 6e2f05b2e33a6c80c7a411ce76af7b5a08acb835 from master
2019-11-11 13:30:14 +01:00
Mariusz Felisiak
2c2afbe104 [3.0.x] Fixed typo in docs/topics/files.txt.
Backport of 08c0d8b16bb7e79074bc9c8ab4f0db97a94d336a from master
2019-11-11 11:52:18 +01:00
Hasan Ramezani
6722416e70 [3.0.x] Fixed #30252 -- Clarified need to reopen forms.fields.ImageField.image file to access raw image data.
Backport of 2282d9f2e5d08fc782087ebe97ab195303a6e79b from master
2019-11-11 11:48:48 +01:00
Farhaan Bukhsh
78025531eb [3.0.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450adac4003ed98f4adcb1710c95fd2b919 from master
2019-11-11 10:10:31 +01:00
Jon Dufresne
bca2ffd3c2 [3.0.x] Refs #30948 -- Updated install instructions to use pip instead of setup.py.
Co-authored-by: Nick Pope <nick.pope@flightdataservices.com>

Backport of eee4da3b5748370a5c562bc63d2cae61ea85b16c from master
2019-11-08 21:16:52 +01:00
Carlton Gibson
48631a1afd [3.0.x] Doc'd archiving historical branches as git tags.
Backport of a32f983be8f5711963f20d976f13b3354e36f5c7 from master
2019-11-08 12:11:18 +01:00
Shipeng Feng
59578ebaa0 [3.0.x] Fixed #30955 -- Doc'd that only concrete base models are stored in historical models bases.
Abstract models are removed from bases when generating historical model
state since 6436f1fad9ce51f18735106ac75aeea3d6d1f310.
Backport of 8058d9d7adb189fec75a4b57565f225996c7b22c from master
2019-11-08 09:43:20 +01:00
René Fleschenberg
87a10c3d6e [3.0.x] Replaced 'n_' prefix with 'number_of_' in docs/topics/db/queries.txt.
Backport of 367634f976ab43db93321bf4eb898449b670e291 from master
2019-11-07 09:41:01 +01:00
Farhaan Bukhsh
64b01e38f9 [3.0.x] Fixed #30865 -- Doc'd that not all DATABASES['OPTIONS'] are passed to command-line client.
Backport of cc5622ec8c260535c63279cf6eb293f2b5a742f0 from master
2019-11-07 08:34:38 +01:00
Daniel Fairhead
1922119252 [3.0.x] Fixed #15742 -- Fixed an example of collecting selected objects in ModelAdmin.actions docs.
The queryset argument is already filtered, and request.POST doesn't
contain all selected objects when "Select All" is used.

Backport of e651b3095c950627b1eed1527f2bb011ddad03de from master
2019-11-06 13:41:15 +01:00
Dan Swain
5da7cbe3f6 [3.0.x] Documented arguments for custom 500 error view.
Backport of 422b875c6586a6548c6bf34a0851ae82198a8818 from master
2019-11-06 09:27:23 +01:00
Stephen Rauch
76d293f3e6 [3.0.x] Refs #30183 -- Doc'd dropping support for sqlparse < 0.2.2.
Support for sqlparse < 0.2.2 was broken in
782d85b6dfa191e67c0f1d572641d8236c79174c because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4b6db766ba4b613d317c87f87d1d63865b7424a4 from master
2019-11-06 09:01:48 +01:00
Jon Dufresne
b75a268c07 [3.0.x] Added a link to the file email backend from EMAIL_FILE_PATH setting.
Backport of c8debd50617142937191986aec77a5eee472c28e from master
2019-11-06 08:38:17 +01:00