4695 Commits

Author SHA1 Message Date
Mariusz Felisiak
382374a360 [3.2.x] Corrected BaseDatabaseSchemaEditor.execute() signature in docs.
Backport of a5cb1ef6eb842c38627ff6685b977fd42a342b67 from main
2021-08-27 06:15:19 +02:00
Can Sarıgöl
69009f4952 [3.2.x] Fixed #33046 -- Added note about using length of cached result by QuerySet.count().
Backport of 7ea86076fc1128d43b47f4826cb25eb5ebb19f19 from main
2021-08-26 09:05:35 +02:00
Claude Paroz
d29a9ed504 [3.2.x] The geodjango mailing list moved to the Django Forum.
Backport of 6c3525a09db5177bf4e3856de85bf8b1300402d5 from main
2021-08-13 15:36:41 +02:00
Abhyudai
55daaa0c79 [3.2.x] Made minor edits to QuerySet.update_or_create() docs.
Backport of 85d47a58bf7dceced6a3e29a0715827b7a9d7d29 from main
2021-07-29 06:51:46 +02:00
Pēteris Caune
5fa70c91b4 [3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of c258918a03532e5381818e20866266545edb5206 from main
2021-07-28 12:52:02 +02:00
Chris Jerdonek
aace6c531d [3.2.x] Fixed #32933 -- Documented BoundField.initial as preferred over Form.get_initial_for_field().
Backport of 6559a55eed09780b30ee3c3636ccf30318622bcf from main
2021-07-27 17:59:18 +02:00
abhiabhi94
bdd4cbe84a [3.2.x] Fixed #32957 -- Improved visibility of arguments sections in Model.save() docs.
Backport of f876c7d08e75d719df5cd34b97cac63fdaae3fcc from main
2021-07-26 08:50:40 +02:00
Abhyudai
de5a044cf4 [3.2.x] Fixed #32950 -- Removed myproject from imports in admin docs where appropriate.
Backport of 019424e44efe495bc5981eb9848c0bb398a6f068 from main
2021-07-23 06:20:07 +02:00
Jacob Walls
05e997c404 [3.2.x] Fixed typo in docs/ref/databases.txt.
Backport of 66058c575887ba958a407e276cadb7a7b05c7767 from main
2021-07-19 06:34:01 +02:00
Wille Marcel
527482c513 [3.2.x] Fixed typo in docs/ref/contrib/gis/tutorial.txt.
Backport of 6f60fa97b0b501ef7cc77e16392654bf27ec8db3 from main
2021-07-09 20:17:46 +02:00
Claude Paroz
1d53d2502d [3.2.x] Documented in_bulk behavior with nonexistent id_list items.
Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>

Backport of 7309393c3a7dea7a34a1446e102df7432c4e7357 from main
2021-07-07 10:15:51 +02:00
Thomas Guettler
aaef4111ac [3.2.x] Fixed #32850 -- Doc'd Sitemap.paginator.
Backport of 775f7506d7fbabf79d8bdec4ccf039ce2870fe70 from main
2021-06-30 20:54:56 +02:00
David Smith
32b366a864 [3.2.x] Refs #32338 -- Improved accessibility of RadioSelect examples in docs.
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>

Backport of d8c17aa10c7f41e692fb6f5d0bf2fab7a90b9374 from main
2021-06-04 10:45:29 +02:00
Jacob Walls
f07d686974 [3.2.x] Fixed typos in docs.
Backport of f0d0d29f03448ba4f9cfef03f0605cc7e557c2c4 from main
2021-06-03 07:50:31 +02:00
Mariusz Felisiak
143d2a4bbf [3.2.x] Changed IRC references to Libera.Chat.
Backport of 66491f08fe86629fa25977bb3dddda06959f65e7 from main.
2021-05-20 12:25:07 +02:00
David D Lowe
33dec7b13b [3.2.x] Doc'd that HttpRequest.path doesn't contain a query string.
Backport of fa4e963ee7e6876581b5432363603571839ba00c from main
2021-05-19 11:58:35 +02:00
David Sanders
d743c37326 [3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of dacc307d9396516e7d3609b7b91e2ec545c84ebc from main
2021-05-19 07:29:23 +02:00
Girish Sontakke
65b680a99a [3.2.x] Fixed #32755 -- Corrected Model.get_absolute_url() example in docs.
Backport of 27d4573d35935bff83c28bfd68a2ce5a7a6c600a from main
2021-05-18 11:31:03 +02:00
Nick Pope
cb91b2d9e3 [3.2.x] Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
Backport of c156e369553c75a30c78b8ed54a57b1101865105 from main
2021-05-17 12:16:09 +02:00
Nick Pope
55b89e8cac [3.2.x] Refs #32720 -- Fixed some broken links in docs.
Backport of 7c4ee487c7392a3a394caf62efad355fad639655 from main
2021-05-17 12:14:20 +02:00
Nick Pope
fab710d3ff [3.2.x] Fixed a typo in docs/ref/models/fields.txt.
datetime.date.utcnow() doesn't exist, should be .today().

Backport of 88b3982af396a7c2eca0db9c52dfa9830045cc19 from main
2021-05-12 12:12:10 +02:00
Carlton Gibson
bac416972d [3.2.x] Refs #32674 -- Noted that auto-created through table PKs cannot be automatically migrated.
Backport of 907d3a7ff4e12ad4ccc86af26a728007fe4d6fa2 from main
2021-04-29 15:14:15 +02:00
Adam Johnson
263ee4434f [3.2.x] Corrected introduction to range field lookups docs.
Follow up to 24b9f5082344a127147266dd52d5d2dcd1c9cb44.
Backport of 68e876c0953f882e54dddd49ef727f9e38e2d0d1 from main
2021-04-28 20:35:28 +02:00
Mariusz Felisiak
fbea64b8ce [3.2.x] Refs #32682 -- Renamed use_distinct variable to may_have_duplicates.
QuerySet.distinct() is not the only way to avoid duplicate, it's also
not preferred.

Backport of cd74aad90e09865ae6cd8ca0377ef0a5008d14e9 from main
2021-04-27 10:37:13 +02:00
Adam Johnson
4acce4d95f [3.2.x] Corrected File, ContentFile, and ImageFile signatures in docs.
Backport of 725ca1fb60da2ef1bb6db146cd2d735591e75fbd from main
2021-04-16 10:32:54 +02:00
Mariusz Felisiak
208e72276a [3.2.x] Fixed #32645 -- Fixed QuerySet.update() crash when ordered by joined fields on MySQL/MariaDB.
Thanks Matt Westcott for the report.

Regression in 779e615e362108862f1681f965ee9e4f1d0ae6d2.
Backport of ca9872905559026af82000e46cde6f7dedc897b6 from main
2021-04-14 21:13:27 +02:00
Claude Paroz
5eb17d31c3 [3.2.x] Fixed #32544 -- Confirmed support for GDAL 3.2 and GEOS 3.9.
Backport of e3cfba0029516aafe40f963378e234df2c0d33bb from main.
2021-04-07 17:04:10 +02:00
Mariusz Felisiak
42fea5d5b8 [3.2.x] Refs #30156 -- Corrected version in SpatiaLite install instructions.
Backport of da542ccab6d61e1467199b52f77f64a2d72f5faf from main
2021-04-06 12:45:15 +02:00
sreehari1997
5ebb8e65df [3.2.x] Fixed #32580 -- Doc'd that HttpRequest.get_host() may raise DisallowedHost.
Backport of 0860db225a4a7059c0884c87c0a7aa0035fd0d36 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 cac9ec73db35a6d38d33f271f4724da486c60e9f 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 e53159747c53ca8db6c338998493fd8697d38fac 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 4894a97578dbb816f142535586b0d6154d94ac8e from main
2021-03-24 07:35:55 +01:00
tim-mccurrach
153a681198 [3.2.x] Fixed #32576 -- Corrected dumpdata docs for passing model names to the --exclude option.
Backport of cf2f6fc558166656f29609e3864df9af81067d0c 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 d40402cfb023801f0d83f19747e30b13096e3636 from main
2021-03-19 13:03:36 +01:00
Mariusz Felisiak
4aba70900c [3.2.x] Fixed #32353 -- Confirmed support for PROJ 7.X.
Backport of 065832eaec167a45008aa125887ce1215a1f257d 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 bc04941bf811d1ea2c79fb7fc20457ed2c7e3410 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 50ef9dfac21499ff6c46c2f6a33103e40b60cd4e 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 4d912e6697784325bc43a6d852fe5a26e6fa235a from main
2021-03-15 08:21:12 +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 d9a266d657f66b8c4fa068408002a4e3709ee669 from main
2021-03-09 09:33:50 +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 c6b07627fcb5d1c8d2082714ef5adb63bee6cf4c 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 05bbff82638731a6abfed2fe0ae06a4d429cb32f from master
2021-03-04 10:43:41 +01:00
Hasan Ramezani
44969681b8 [3.2.x] Corrected admin.E023 message in docs.
Backport of d1f89c9b9a9b44c4dbfd24fcb5f76f16e973c0a2 from master
2021-03-04 09:21:02 +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 5fd4f22d196fbe9913884259ddedad10e6156a44 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 7587139d35b630a19fdc55a5f3789475e5ed26c8 from master
2021-02-26 21:03:02 +01:00
Adam Johnson
f2d955dbe4 [3.2.x] Documented an example custom context processor.
Backport of 0963f184abd96800b76b19a6a181e1b544c7fafe from master
2021-02-11 14:37:27 +01:00
Adam Johnson
2ce4f73241 [3.2.x] Improved pagination documentation
* Link to the topic guide
* Document that page() can raise PageNotAnInteger.

Backport of a57e91adeeef4fe97db3e589b20bf2a30c907e21 from master
2021-02-11 14:20:19 +01:00
Anil Khatri
bae685f267 [3.2.x] Fixed #32430 -- Doc'd base class-based views.
Backport of 6ee86a12ee29fcd4f3d7c9f1ad6de8cde4637b06 from master
2021-02-08 17:33:53 +01:00
Anil Khatri
20e0e47f25 [3.2.x] Fixed #32408 -- Doc'd django.views.generic.detail.BaseDetailView.
Backport of de4492fbb1e48f8b258baa182220d4247f345177 from master
2021-02-08 07:08:53 +01:00
Brad Solomon
eab0b8b804 [3.2.x] Fixed typo in docs/ref/forms/widgets.txt.
Backport of f9cfd346f0222d86bfbac26ef5455806965bae6b from master
2021-02-01 12:05:22 +01:00
Timothy McCurrach
e95a60bb64 [3.2.x] Fixed #32388 -- Clarified QuerySet.bulk_update() caveat about duplicates for multiple batches.
Backport of 241da3f06ee0c6f436341cda5890b221ac453e3b from master
2021-01-28 08:07:14 +01:00