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

4966 Commits

Author SHA1 Message Date
Ryan Cheley
d2c52fc727 [4.1.x] Fixed typo in docs/ref/models/querysets.txt.
Backport of 38936f6a0cecfdfbfc30009a1f0a725b770f0854 from main
2022-10-21 16:03:14 +01:00
Diane DeMers Chen
2611ecd5d9 [4.1.x] Updated UTC uses to datetime.timezone.utc in docs.
Backport of a16132a9c4b32f9580cdda98a2711ae7261c2576 from main
2022-10-20 15:53:59 -07:00
Alan D. Snow
202f5ae96a [4.1.x] Updated example of creating GEOSGeometry from WKB to use memoryview.
Backport of da2621c3dfef934000c479750e0276d992025542 from main
2022-10-13 13:22:15 +02:00
Mariusz Felisiak
f72ba56af0 [4.1.x] Refs #34059 -- Doc'd lack of support for validation of constraints with JSONFields.
Thanks Dan LaManna for the report.
Backport of 004f985b918d5ea36fbed9b050459dd22edaf396 from main
2022-10-12 11:51:26 +02:00
Mariusz Felisiak
735a610139 [4.1.x] Removed note about "0" IP address from tutorial.
Tutorial should offer only minimum, necessary, explanation.
Backport of c583418e3ec2a7f2997f739a51ae07291c18070e from main
2022-10-04 11:51:46 +02:00
Mariusz Felisiak
7843c43c49 [4.1.x] Refs #32987 -- Relaxed system check for template tag modules with the same name by turning into a warning.
Thanks Claude Paroz for the report.

Regression in 004b4620f6f4ad87261e149898940f2dcd5757ef.
Backport of f71b0cf769d9ac582ee3d1a8c33d73dad3a770da from main
2022-10-03 10:52:47 +02:00
David Sanders
f78314875f [4.1.x] Clarified how to reference RelatedObjectDoesNotExist exceptions.
Backport of da02cbd1effc951b14c981925d0e26a39566649e from main
2022-10-01 16:43:11 +02:00
Mariusz Felisiak
4f7fc378a1 [4.1.x] Changed note about update_fields and pre_save() to admonition.
Follow up to bf47c719719d0e190a99fa2e7f959d5bbb7caf8a.
Backport of 5d36a8266c7d5d1994d7a7eeb4016f80d9cb0401 from main
2022-09-28 09:27:14 +02:00
sarahboyce
ba4141b8bc [4.1.x] Doc'd when pre_save() is called with Model.save()'s update_fields.
Backport of bf47c719719d0e190a99fa2e7f959d5bbb7caf8a from main
2022-09-27 14:11:04 +02:00
Ferran Jovell
5c4269197c [4.1.x] Fixed #34018 -- Fixed typo in docs/ref/contrib/flatpages.txt.
Backport of 6619baab9b02e9f98598993e14cfc2b462b3a710 from main
2022-09-16 16:33:10 +02:00
David Sanders
be5e3b46f7 [4.1.x] Fixed #33996 -- Fixed CheckConstraint validation on NULL values.
Bug in 667105877e6723c6985399803a364848891513cc.

Thanks James Beith for the report.

Backport of e14d08cd894e9d91cb5d9f44ba7532c1a223f458 from main
2022-09-13 14:06:46 +02:00
Mariusz Felisiak
f34655d756 [4.1.x] Corrected heading level of "Registering and fetching lookups" section in docs.
Backport of 753602d0c65de4767310bfe4957e489eb94c6517 from main.
2022-09-04 14:36:54 +02:00
Mariusz Felisiak
02876534ab [4.1.x] Reverted "Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform()."
This reverts commit 7faf25d682b8e8f4fd2006eb7dfc71ed2a2193b7. The same
can be achieved with F() so there is no need to expose an extra API.
Backport of cb06f5ef8c80fc6a610db0fc36fb9dc7c625335a from main
2022-08-31 22:13:54 +02:00
Ilia Peterov
e992703e07 [4.1.x] Improved example of index on SearchVector in full text search docs.
Backport of 0010721e892b470e90878f6128b490f52ebac8c4 from main
2022-08-29 19:28:57 +02:00
Mariusz Felisiak
0890719402 [4.1.x] Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
Follow up to 2eea361eff58dd98c409c5227064b901f41bd0d6.
Backport of 081871bc20cc8b28481109b8dcadc321e177e6be from main
2022-08-26 21:44:24 +02:00
Kanza
dafdcedaf3 [4.1.x] Fixed #33920 -- Doc'd dependency of LOGGING_CONFIG callback on non-empty LOGGING.
Backport of 5f5401b1149dca4a487eec6b1008124eacc7d29f from main
2022-08-24 12:28:47 +02:00
Jarosław Wygoda
04ec8bf92a [4.1.x] Refs #26029 -- Doc'd django.core.files.storage.default_storage.
Backport of 9e7cb27a5b7363239d1db02d29fe12efdf25b899 from main
2022-08-10 12:24:05 +02:00
Mariusz Felisiak
d3ef502aa9 [4.1.x] Fixed typo in docs/ref/forms/renderers.txt.
Thanks Josh for the report.
Backport of 00370342ca3a478660372975b3309ffc4d535be1 from main
2022-08-06 13:44:05 +02:00
Carlton Gibson
064c8100a5 [4.1.x] Doc'd TextField.db_collation as optional.
Matches CharField.db_collation docs.

Thanks to Paolo Melchiorre for the report.

Backport of 5028a02352cb1fe3e64d63a614912ef694838862 from main
2022-08-02 15:18:35 +02:00
Mariusz Felisiak
265c3eb602 [4.1.x] Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
Thanks Johnny Metz for the report.

Regression in 71ec102b01fcc85acae3819426a4e02ef423b0fa.
Backport of e20e5d1557785ba71e8ef0ceb8ccb85bdc13840a from main
2022-07-26 20:22:03 +02:00
Claude Paroz
1fd79033f7 [4.1.x] Refs #25756 -- Doc'd inability to use file fields with PostgreSQL ArrayField.
Backport of a46dfa87d0ba690125be98f7f1b77062a1794fdc from main
2022-07-23 16:12:52 +02:00
Victor
8a2e65c2e6 [4.1.x] Fixed #33317 -- Added note about unconditional evaluation of {% block %} tags.
Backport of 2fac0a18081dcc77fc860c801e5d727dc90435b3 from main
2022-07-22 10:10:23 +02:00
Alokik Vijay
0acaea1329 [4.1.x] Fixed #30711 -- Doc'd django.contrib.postgres.fields.hstore.KeyTransform().
Backport of 7faf25d682b8e8f4fd2006eb7dfc71ed2a2193b7 from main
2022-07-13 11:34:46 +02:00
Hrushikesh Vaidya
e40b77365f [4.1.x] Refs #33779 -- Doc'd django.utils.html.json_script().
Backport of 0ee03a439b7016c068ab2e0c477d5c84f750a82c from main
2022-06-28 11:35:41 +02:00
Mariusz Felisiak
6c0ee61797 [4.1.x] Fixed docs build with sphinxcontrib-spelling 7.5.0+.
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set
of nodes for which the text is checked.

Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main
2022-06-27 07:44:27 +02:00
Ian Wootten
2026314b20 [4.1.x] Fixed #33804 -- Corrected GinIndex.gin_pending_list_limit description in docs.
Backport of 6f63e0ce8e36fbdb2d0c4dfd77ed3cf02e467f49 from main
2022-06-24 14:54:06 +02:00
Sfurti-yb
eaf9885392 [4.1.x] Added YugabyteDB to list of third-party DB backends.
Backport of 860643e12e043d7b0b0c10ebe29d6ada017d95d7 from main
2022-06-16 08:58:56 +02:00
Swann
9d8b694205 [4.1.x] Fixed documentation of Widget.id_for_label() empty return value.
Backport of d0863429a39dbc99a52a6d781006e7075c743d33 from main
2022-06-03 20:01:16 +02:00
Hasan Ramezani
44e754fc83 [4.1.x] Unified AdminSite imports in docs.
Backport of ce69e34bd646558bb44ea92cecfd98b345a0b3e0 from main
2022-05-25 13:14:05 +02:00
Mariusz Felisiak
3d4bab28de [4.1.x] Fixed #33724 -- Doc'd exclude argument changes in model validation.
Thanks אורי for the report.

Follow up to 1ea7e3157d1f9b4db71e768d75ea57e47dbd49f9.
Backport of 90aabd730a2a434c227faf8a927b0e2ccd67e291 from main
2022-05-24 10:03:19 +02:00
Burak Kadir Er
701d78c95c [4.1.x] Fixed #33721 -- Added DE-9IM link in GEOS docs.
Backport of 1be9585d73c50df733eb4d1484651bb8548a1205 from main
2022-05-20 16:47:40 +02:00
Joachim Jablon
daf83303d1 [4.1.x] Refs #30581 -- Updated count of steps in model validation docs.
Follow-up to 667105877e6723c6985399803a364848891513cc.

Backport of ce7321932d07b7bf9e6be77b9865c5058d9c1e4d from main
2022-05-18 11:39:06 +02:00
David Smith
d126eba363 Refs #32339 -- Deprecated default.html form template.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
2022-05-17 11:16:54 +02:00
Collin Anderson
2a5d2eefc7 Fixed #33683 -- Document HttpResponseBase and allow import from django.http 2022-05-17 09:51:16 +02:00
Mariusz Felisiak
647480166b
Refs #33685 -- Doc'd that using PostgreSQL's service names for testing purposes is not supported. 2022-05-16 09:32:40 +02:00
Marcelo Galigniana
76af861356 Fixed #27550 -- Allowed GEOSGeometry.normalize() to return a normalized clone. 2022-05-16 06:46:53 +02:00
David Wobrock
eacd4977f6 Refs #27064 -- Added RenameIndex migration operation. 2022-05-12 20:44:03 +02:00
Kapil Bansal
3a82b5f655 Fixed #32559 -- Added 'step_size’ to numeric form fields.
Co-authored-by: Jacob Rief <jacob.rief@uibk.ac.at>
2022-05-12 14:16:52 +02:00
Mariusz Felisiak
68da6b389c
Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy and Expression.asc()/desc().
Thanks Allen Jonathan David for the initial patch.
2022-05-12 11:30:03 +02:00
Gagaro
667105877e Fixed #30581 -- Added support for Meta.constraints validation.
Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews.
2022-05-10 11:22:23 +02:00
Ali Toosi
faab9e6769 Fixed #33680 -- Corrected example of customizing model loading in docs. 2022-05-06 06:42:03 +02:00
David Smith
ec5659382a Fixed #32339 -- Added div.html form template. 2022-05-05 14:32:43 +02:00
Carlton Gibson
fde946daff Refs #32339 -- Restructured outputting HTML form docs.
In the topic doc, promoted the Reusable form templates section.

In the reference, re-grouped and promoted the default __str__()
rendering path, and then gathered the various as_*() helpers
subsequently.

Thanks to David Smith for review.
2022-05-04 11:52:48 +02:00
Mariusz Felisiak
37470bbd90
Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. 2022-05-04 06:28:51 +02:00
Alokik Vijay
df22566748 Fixed #33658 -- Doc'd ModelChoiceField.blank attribute.
Thanks Mariusz Felisiak for reviewing.
2022-05-03 14:23:00 +02:00
Steven DeMartini
562e3bc09a Refs #23435 -- Added note about GenericForeignKey indexes to docs. 2022-04-29 07:48:37 +02:00
David
ce586ed693 Removed hyphen from pre-/re- prefixes.
"prepopulate", "preload", and "preprocessing" are already in the
spelling_wordlist.

This also removes hyphen from double "e" combinations with "pre" and
"re", e.g. preexisting, preempt, reestablish, or reenter.

See also:
- https://ahdictionary.com/word/search.html?q=rerun
- https://ahdictionary.com/word/search.html?q=recreate
- https://ahdictionary.com/word/search.html?q=predetermined
- https://ahdictionary.com/word/search.html?q=reuse
- https://ahdictionary.com/word/search.html?q=reopening
2022-04-28 10:44:14 +02:00
David
2ed6f20e7a Added links to Solr and Haystack in docs. 2022-04-28 10:44:14 +02:00
David
51874dd160 Added backticks to code literals in various docs. 2022-04-28 10:44:14 +02:00
Carlton Gibson
476d4d5087 Refs #32339 -- Allowed renderer to specify default form and formset templates.
Co-authored-by: David Smith <smithdc@gmail.com>
2022-04-27 10:21:04 +02:00