Commit graph

11364 commits

Author SHA1 Message Date
Farhaan Bukhsh
78025531eb [3.0.x] Fixed #30958 -- Used a clearer example in the Cast() docs.
Backport of 4cb15450ad 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 eee4da3b57 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 a32f983be8 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 6436f1fad9.
Backport of 8058d9d7ad 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 367634f976 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 cc5622ec8c 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 e651b3095c 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 422b875c65 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
782d85b6df because is_whitespace property
was added in sqlparse 0.2.2.

Backport of 4b6db766ba 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 c8debd5061 from master
2019-11-06 08:38:17 +01:00
Jon Dufresne
85cddb6abb [3.0.x] Fixed #30944 -- Changed reusable apps docs to use a declarative config.
Backport of 89368ab6e3 from master
2019-11-05 15:01:42 +01:00
kola-er
a5b4a909f0 [3.0.x] Fixed #30928 -- Clarified MySQL/MariaDB support of QuerySet.select_for_update() options.
Thanks Par Andersson for reporting the issue.

Backport of d94d7b113c from master
2019-11-05 14:52:31 +01:00
Alasdair Nicol
78fc05303a [3.0.x] Refs #30923 -- Fixed an example of rendering templates in contrib.sites docs.
Backport of b991eefd3a from master
2019-11-05 12:42:04 +01:00
Mariusz Felisiak
2000ed5180 [3.0.x] Refs #30947 -- Changed tuples to lists in model Meta options examples in docs.
Follow up to 97d3321e89.

Backport of e5cacb1f47 from master
2019-11-05 08:40:17 +01:00
Claude Paroz
48c263df29 [3.0.x] Added Uzbek language.
Backport of 6ccb1b68bc from master
2019-11-04 15:18:53 +01:00
Adam Johnson
b40272f5ea [3.0.x] Updated list of field types conversions in ModelForm docs.
Backport of 5a856669bf from master
2019-11-04 11:03:58 +01:00
Mariusz Felisiak
810dd8ad8d [3.0.x] Added release dates for 2.2.7, 2.1.14, and 1.11.26.
Backport of 126cfefce2 from master
2019-11-04 08:26:18 +01:00
Carlton Gibson
dd2ca8b0ea [3.0.x] Fixed #30931 -- Restored ability to override Model.get_FIELD_display().
Thanks Sergey Fedoseev for the implementation idea.

Regression in a68ea23101.

Backport of 2d38eb0ab9 from master
2019-11-04 08:15:03 +01:00
Gil Forcada Codinachs
0644b73e85 [3.0.x] Fixed typo in docs/ref/signals.txt.
Backport of 632d7bbd3d from master
2019-10-30 16:53:10 +01:00
Mariusz Felisiak
453074bc1f [3.0.x] Corrected error message in Many-to-many relationships docs.
Backport of a370dbd954 from master
2019-10-30 16:17:54 +01:00
André Ericson
3c5f8313c2 [3.0.x] Fixed #30927 -- Simplified an example of test for the deprecation warning with assertWarnsMessage().
Backport of 54a7b02112 from master
2019-10-30 13:52:57 +01:00
Ken Whitesell
574f238582 [3.0.x] Fixed #30917 -- Clarified formsets topic documentation.
Backport of 4c762588ff from master
2019-10-30 09:01:14 +01:00
Hasan Ramezani
4037b4c2b5 [3.0.x] Fixed #13750 -- Clarified need to reopen models.ImageField.image file to access raw image data.
Backport of f57e174fa6 from master
2019-10-29 16:09:41 +01:00
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
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
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
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
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
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
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
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
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
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