Natalia
9b18af4f6f
Refs #30601 -- Fixed typos in docs/topics/db/transactions.txt.
2023-10-30 10:35:44 -03:00
Natalia
b412e5645a
Refs #15578 -- Made cosmetic edits to fixtures docs.
2023-10-30 10:29:37 -03:00
lufafajoshua
aa80b357fb
Fixed #30601 -- Doc'd the need to manually revert all app state on transaction rollbacks.
2023-10-27 17:35:47 -03:00
Leo Suarez
334dc073b1
Fixed #15578 -- Stated the processing order of fixtures in the fixtures docs.
...
Also, added details about loading multiple fixtures and unified line wrapping
at 79 cols.
Co-Authored-By: Aniketh Babu <anikethbabu@gmail.com>
Co-Authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
Co-Authored-By: Natalia Bidart <124304+nessita@users.noreply.github.com>
2023-10-26 17:40:26 -03:00
Mariusz Felisiak
718b32c691
Added missing pycon directives in various docs.
2023-10-25 12:27:27 +02:00
lufafajoshua
8adc7c86ab
Fixed #34808 -- Doc'd aggregate function's default argument.
2023-10-11 15:17:36 -03:00
Mariusz Felisiak
5e4c1793b7
Refs #33308 -- Removed support for passing encoded JSON string literals to JSONField & co.
...
Per deprecation timeline.
2023-09-18 22:12:40 +02:00
Mariusz Felisiak
295467c04a
Removed versionadded/changed annotations for 4.2.
...
This also removes remaining versionadded/changed annotations for older
versions.
2023-09-18 22:12:40 +02:00
Nick Pope
500e01073a
Fixed #31262 -- Added support for mappings on model fields and ChoiceField's choices.
2023-08-30 22:57:40 -03:00
Mariusz Felisiak
02376f1f53
Added missing backticks in docs.
2023-07-21 12:54:38 +02:00
Ashwin Dharne
5762b839ff
Fixed typo in docs/topics/db/fixtures.txt.
2023-06-16 19:34:06 +02:00
Akash Kumar Sen
5f2308710b
Fixed #30355 -- Doc'd interaction between custom managers and prefetch_related().
2023-06-07 11:48:01 +02:00
Mariusz Felisiak
498195bda4
Improved examples in docs about raw SQL queries.
...
Regression in 14459f80ee
.
2023-04-20 12:24:33 +02:00
Yahya Ali
263db8af46
Fixed #34463 -- Corrected code-block directives in docs.
...
Thanks ExTexan for the report.
2023-04-06 13:08:12 +02:00
Jesper Olsson
216eb63883
Fixed #34409 -- Doc'd limitation of dictfetchall() and namedtuplefetchall() examples.
...
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-22 19:20:58 +01:00
T. Franzel
a2eaea8f22
Fixed #34388 -- Allowed using choice enumeration types directly on model and form fields.
2023-03-21 19:44:41 +01:00
django-bot
14459f80ee
Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.
2023-03-01 13:03:56 +01:00
Joseph Victor Zammit
ba755ca131
Refs #34140 -- Corrected rst code-block and various formatting issues in docs.
2023-02-28 12:21:37 +01:00
Carlton Gibson
534ac48297
Refs #34140 -- Applied rst code-block to non-Python examples.
...
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for
reviews.
2023-02-10 19:19:13 +01:00
Marcelo Galigniana
7c6195ef81
Fixed #34310 -- Added deletion example to one-to-one topic.
2023-02-07 08:04:23 +01:00
Mariusz Felisiak
490cccbe7e
Removed versionadded/changed annotations for 4.1.
2023-01-17 11:49:15 +01:00
Daniele Varrazzo
09ffc5c121
Fixed #33308 -- Added support for psycopg version 3.
...
Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews.
Co-authored-by: Florian Apolloner <florian@apolloner.eu>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-12-15 06:17:57 +01:00
Simon Charette
0ff46591ac
Refs #33308 -- Deprecated support for passing encoded JSON string literals to JSONField & co.
...
JSON should be provided as literal Python objects an not in their
encoded string literal forms.
2022-12-01 19:14:00 +01:00
sarahboyce
0678d65722
Refs #34099 -- Doc'd that custom Model.save() should update update_fields kwarg.
2022-11-14 13:43:07 +01:00
Trey Hunner
fad070b07b
Improved readability of string interpolation in frequently used examples in docs.
2022-11-10 13:18:38 +01:00
Adam Johnson
444b6da7cc
Refs #33939 -- Improved transaction.on_commit() docs.
2022-11-04 12:20:25 +01:00
Filip Lajszczak
6103059592
Fixed #34054 -- Created a new fixtures topic.
...
Moved material from django-admin document into a new document, and
added new material.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-11-02 08:08:02 +01:00
Allen Jonathan David
10178197d5
Fixed #33966 -- Added support for using KeyTextTransform from lookup.
2022-09-16 05:36:57 +02:00
Pamela Fox
8e93fc561e
Described Article-Reporter relationship in many-to-one topic.
2022-09-15 10:15:50 +02:00
Dhanush
6df9398cce
Corrected example of redundant all() in docs.
2022-09-09 13:34:14 +02:00
SirAbhi13
4a1150b41d
Fixed #33616 -- Allowed registering callbacks that can fail in transaction.on_commit().
...
Thanks David Wobrock and Mariusz Felisiak for reviews.
2022-09-06 12:21:36 +02:00
Alex Morega
de6c9c7054
Refs #30947 -- Changed tuples to lists where appropriate.
2022-08-30 09:57:17 +02:00
Iván Camilo Triviño López
411a6ec93a
Fixed #33958 -- Added imports to examples in "Expressions can reference transforms" section.
2022-08-30 06:03:53 +02:00
Mariusz Felisiak
081871bc20
Refs #30511 -- Updated docs about auto-incrementing primary keys on PostgreSQL.
...
Follow up to 2eea361eff
.
2022-08-26 21:42:44 +02:00
Alex Morega
7e6b537f5b
Fixed #33939 -- Used functools.partial() in transaction.on_commit() examples.
2022-08-23 11:55:30 +02:00
Mariusz Felisiak
e20e5d1557
Fixed #33820 -- Doc'd "true"/"false"/"null" caveat for JSONField key transforms on SQLite.
...
Thanks Johnny Metz for the report.
Regression in 71ec102b01
.
2022-07-26 20:21:27 +02:00
Mariusz Felisiak
ac90529cc5
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.
2022-05-31 11:17:01 +02:00
Tom Sparrow
e89f957135
Removed unnecessary semicolons in docs about performing raw SQL.
2022-05-19 10:38:22 +02:00
Simon Willison
4525d689e9
Refs #33646 -- Fixed link markup in queries topic doc.
2022-05-18 17:39:59 +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
1c2bf80acb
Changed "ie." to "i.e." in docs.
2022-04-28 10:37:06 +02:00
Andrew Godwin
58b27e0dbb
Fixed #33646 -- Added async-compatible interface to QuerySet.
...
Thanks Simon Charette for reviews.
Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es>
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-04-26 20:25:23 +02:00
Mariusz Felisiak
39ae8d740e
Added missing backticks to function names.
2022-03-17 11:10:03 +01:00
David Smith
67b5f506a6
Changed some words to use inline markup.
2022-03-10 10:18:31 +01:00
Adam Johnson
a8c15481f4
Rewrote some references to "master".
...
Following d9a266d657
.
2022-03-08 14:50:06 +01:00
Ryan Heard
c6b4d62fa2
Fixed #29865 -- Added logical XOR support for Q() and querysets.
2022-03-04 12:55:37 +01:00
Nick Pope
847f46e9bf
Removed redundant QuerySet.all() calls in docs and tests.
...
Most QuerySet methods are mapped onto the Manager and, in general,
it isn't necessary to call .all() on the manager.
2022-02-22 10:29:38 +01:00
John Hollingsworth
d70b4bea18
Fixed #32518 -- Doc'd that QuerySet.contains() should not be overused.
...
Thanks Tim McCurrach for the idea.
2022-02-08 07:57:56 +01:00
Jacob Walls
6174814dbe
Fixed #27936 -- Rewrote spanning multi-valued relationships docs.
2021-12-30 08:38:04 +01:00
Mariusz Felisiak
1283458baa
Added default values to Entry's fields in making queries docs.
...
This makes it easier to create a data in examples.
2021-12-30 08:38:04 +01:00