Commit Graph

29238 Commits

Author SHA1 Message Date
arcanemachine 1f48d38c69 [3.2.x] Removed dead link in docs/topics/http/sessions.txt.
Backport of 4a80d0f220 from main
2021-03-30 06:42:12 +02:00
John 57d456319d [3.2.x] Added missing mode="rb" argument to open() call in Client.post() example in docs.
Backport of 509d266c6a from main
2021-03-26 08:05:22 +01:00
sreehari1997 5ebb8e65df [3.2.x] Fixed #32580 -- Doc'd that HttpRequest.get_host() may raise DisallowedHost.
Backport of 0860db225a from main
2021-03-26 08:03:59 +01:00
Claude Paroz 3eb72ad30f [3.2.x] Refs #31003 -- Moved note about return value of QuerySet.bulk_create() to the first paragraph.
Backport of cac9ec73db from main.
2021-03-25 20:35:40 +01:00
Simon Willison 601ceddf79 [3.2.x] Doc'd that RawSQL can be used with __in.
Backport of e53159747c from main
2021-03-25 10:33:16 +01:00
Jannis Vajen e7ce304125 [3.2.x] Fixed page numbers in Paginator.get_elided_page_range() example in docs.
Backport of 4894a97578 from main
2021-03-24 07:35:55 +01:00
Mariusz Felisiak e2e371593f [3.2.x] Refs #32353, Refs #32352 -- Fixed GIS tests with PROJ 7.X.
Different PROJ versions use different transformations, all are correct
as having a 1 meter accuracy.

These are differences in PROJ versions that cannot and should not be
handled in Django itself.

Thanks Jani Tiainen and David Smith for reports.

See: https://github.com/OSGeo/gdal/issues/3377
Backport of 2cd4026334 from main
2021-03-23 09:17:58 +01:00
Adam Johnson 15a8518388 [3.2.x] Refs #31732 -- Fixed django.utils.inspect caching for bound methods.
Thanks Alexandr Artemyev for the report, and Simon Charette for the
original patch.

Backport of 562898034f from main
2021-03-22 20:49:15 +01:00
Adam Johnson 2420fd2d5c [3.2.x] Refs #31372 -- Added django.utils.inspect tests for bound methods.
Backport of ac72a216a7 from main
2021-03-22 20:49:09 +01:00
tim-mccurrach 153a681198 [3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558 from main
2021-03-22 08:44:55 +01:00
kshitijraghav fb92a9e287 [3.2.x] Fixed #32570 -- Removed unnecessary default_auto_field in app config example.
Backport of d40402cfb0 from main
2021-03-19 13:03:36 +01:00
Mariusz Felisiak 8298775dad [3.2.x] Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.
Backport of 37044817f9 from main
2021-03-19 08:06:45 +01:00
Mariusz Felisiak 9059b2fe60 [3.2.x] Added parallel argument to DiscoverRunner docs.
Follow up to cd9fcd4e80.

Backport of f099ef3ef5 from main
2021-03-19 08:06:31 +01:00
Mariusz Felisiak 62fd750bf7 [3.2.x] Corrected DiscoverRunner.build_suite() signature.
Follow up to 9012833af8.

Backport of fc6fba0aa9 from main
2021-03-19 08:06:25 +01:00
Carlton Gibson 2f6714cc9b [3.2.x] Bumped version for 3.2 release candidate 1. 2021-03-18 14:25:23 +01:00
Johannes Maron a8fef6daaf [3.2.x] Fixed #32466 -- Corrected autocomplete to_field resolution for complex cases.
In MTI or ForeignKey as primary key cases, it is required to fetch the attname
from the field instance on the remote model in order to reliably resolve the
to_field_name.

Backport of ceb4b9ee68 from main Backport of 03d0f12c82 from main

Co-authored-by: Johannes Maron <info@johanneshoppe.com>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2021-03-18 14:21:12 +01:00
Hasan Ramezani 6b020f3c94 [3.2.x] Fixed #32547 -- Corrected notes about validation in HTML assertions docs.
Backport of ceb4b9ee68 from main
2021-03-18 11:09:03 +01:00
Adam Johnson 46bdc3eaf0 [3.2.x] Fixed #32560 -- Fixed test runner with --pdb and --buffer on fail/error.
Backport of 45814af619 from main
2021-03-17 21:51:27 +01:00
Jozef 3ff859b789 [3.2.x] Fixed typo in docs/topics/testing/advanced.txt.
Backport of 6993e1bf6d from main
2021-03-17 18:49:53 +01:00
Mariusz Felisiak 4aba70900c [3.2.x] Fixed #32353 -- Confirmed support for PROJ 7.X.
Backport of 065832eaec from main
2021-03-16 20:23:36 +01:00
Hasan Ramezani 7e43a10084 [3.2.x] Fixed #32536 -- Added links to BaseDetailView/BaseListView.get() methods in CBV docs.
Backport of bc04941bf8 from main
2021-03-16 07:59:49 +01:00
Hasan Ramezani d076d9649d [3.2.x] Fixed typo in docs/ref/checks.txt.
Backport of 50ef9dfac2 from main
2021-03-15 09:42:29 +01:00
Mariusz Felisiak 6171d6bb48 [3.2.x] Updated datum directory for PROJ 6 in GIS install instructions.
Backport of 4d912e6697 from main
2021-03-15 08:21:12 +01:00
Claude Paroz 104d6172e8 [3.2.x] Refs #31235 -- Improved assertQuerysetEqual() warning message with stacklevel=2.
Backport of bc43ae7c13 from main
2021-03-10 16:13:03 +01:00
mimi89999 450330952f [3.2.x] Fixed #32512 -- Fixed admin dark theme for autocomplete fields.
Backport of 0df5c8187a from main
2021-03-10 11:18:08 +01:00
Mariusz Felisiak 3119e3c5c7 [3.2.x] Refs #32018 -- Corrected color variable for toggle links in admin.
Follow up to cd3019bc10.
Backport of 6f5dbe9dbe from main
2021-03-09 18:39:10 +01:00
Mariusz Felisiak f8aeafe851 [3.2.x] Refs #32018 -- Used --darkened-bg for <pre> elements.
Backport of 781acf0987 from main
2021-03-09 18:35:11 +01:00
Tim Graham cd4dc4c3f1 [3.2.x] Refs #26167 -- Added @skipUnlessDBFeature('supports_expression_indexes') to a test.
Failure observed on CockroachDB.
Backport of 76c0b32f82 from main
2021-03-09 16:00:19 +01:00
Mariusz Felisiak b129728834 [3.2.x] Updated link to Selenium webdrivers.
Backport of 98d3fd6102 from main
2021-03-09 11:30:56 +01:00
Markus Holtermann e078747290 [3.2.x] Updated Git branch "master" to "main".
This change follows a long discussion on django-develops:

https://groups.google.com/g/django-developers/c/tctDuKUGosc/

Backport of d9a266d657 from main
2021-03-09 09:33:50 +01:00
Jacob Walls 3fd83c48db [3.2.x] Fixed #32507 -- Added link to assertHTMLEqual() in assertInHTML() docs.
Backport of 286fb73b69 from master
2021-03-05 21:21:25 +01:00
Mariusz Felisiak 49970b5e4d [3.2.x] Refs #32483 -- Doc'd caveat about using JSONField key transforms to booleans with QuerySet.values()/values_list() on SQLite.
Backport of c6b07627fc from master
2021-03-04 11:31:00 +01:00
Mariusz Felisiak cd7a5bf33d [3.2.x] Fixed typo in docs/ref/contrib/postgres/fields.txt.
Backport of 05bbff8263 from master
2021-03-04 10:43:41 +01:00
Hasan Ramezani 44969681b8 [3.2.x] Corrected admin.E023 message in docs.
Backport of d1f89c9b9a from master
2021-03-04 09:21:02 +01:00
GabbyPrecious cafabd0859 [3.2.x] Refs #32412 -- Adjusted Contributing Guide start page.
* Added headers emphasising Work on the framework vs Join the community
  sections, to raise the visibility of the community section.
* Added callouts to three main code/docs/translations areas, linking to
  respective start pages.
* Moved some Writing code specific content from the start page to the
  Writing code index. This clarifies the start page and adds content to the
  previously empty Writing code index.

Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>

Backport of ead9085f08 from master
2021-03-03 15:41:10 +01:00
Mariusz Felisiak d7e5590653 [3.2.x] Updated links to djangoproject.com/code.djangoproject.com repositories.
Backport of 2b1de3dd24 from master
2021-03-03 09:07:11 +01:00
Jack Aitken 9f277c3a7c [3.2.x] Fixed #32271 -- Improved consistency of docs CBV examples.
Co-Authored-By: Carles Pina i Estany <carles@pina.cat>

Backport of 5fd4f22d19 from master
2021-03-02 09:01:57 +01:00
tim-mccurrach 7e6e822162 [3.2.x] Fixed #20423 -- Doc'd that DTL variable names may not be a number.
Backport of 7587139d35 from master
2021-02-26 21:03:02 +01:00
Jacob Walls 230d5b16b2 [3.2.x] Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.
Backport of 0c7e880e13 from master
2021-02-26 09:11:57 +01:00
Camilo Nova 1c10a6cbce [3.2.x] Fixed indentation in docs/topics/i18n/translation.txt.
Backport of f6f430d3ff from master
2021-02-25 20:49:53 +01:00
Mariusz Felisiak 904a889ccc [3.2.x] Added stub release notes for 3.1.8.
Backport of e0f82d7992 from master
2021-02-25 20:49:18 +01:00
Markus Holtermann 76873b830c [3.2.x] Updated links to DEPs.
Backport of 7cc6899d41 from master
2021-02-25 17:27:32 +01:00
Mariusz Felisiak abca17c8e0 [3.2.x] Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.
Accidentally changed in 61a0ba43cf.
Backport of af685b5f00 from master
2021-02-24 20:24:34 +01:00
Mariusz Felisiak c963bbc9aa [3.2.x] Refs #31811 -- Restored **kwargs to django.test.utils.setup_databases().
Accidentally removed in 61a0ba43cf.
Backport of c8837322e8 from master
2021-02-24 12:58:18 +01:00
Simon Charette 7a6ca01f4e [3.2.x] Fixed #32478 -- Included nested columns referenced by subqueries in GROUP BY on aggregations.
Regression in fb3f034f1c.

Refs #31094, #31150.

Thanks Igor Pejic for the report.

Backport of 277eea8fcc from master
2021-02-24 10:11:37 +01:00
Hasan Ramezani 543171873f [3.2.x] Fixed #32471 -- Doc'd the return value of EmailMessage.send().
Backport of b1af2cca3a from master
2021-02-23 07:43:57 +01:00
Johannes Wilm cf05f9f205 [3.2.x] Refs #4027 -- Added Model._state.adding to docs about copying model instances.
Backport of 0fd05df7b5 from master
2021-02-22 11:52:52 +01:00
Nick Pope eccf40a303 [3.2.x] Refs #16117 -- Made @action and @display decorators importable from django.contrib.gis.admin.
Backport of 8f02a78695 from master
2021-02-22 10:13:14 +01:00
Carlton Gibson 06905243a3 [3.2.x] Added CVE-2021-23336 to security archive.
Backport of ab58f07250 from master
2021-02-19 11:03:38 +01:00
Carlton Gibson c238ec5e90 [3.2.x] Bumped version for 3.2 beta 1. 2021-02-19 09:35:45 +01:00