Mariusz Felisiak
97237ad3fe
Removed versionadded/changed annotations for 3.2.
2021-09-20 21:23:01 +02:00
Zainab Amir
3445c50a3a
Made sentence about Model consistent in docs.
2021-08-26 07:55:56 +02:00
David Smith
1024b5e74a
Fixed 32956 -- Lowercased spelling of "web" and "web framework" where appropriate.
2021-07-29 06:24:12 +02:00
Carlton Gibson
225d96533a
Fixed #30427 , Fixed #16176 -- Corrected setting descriptor in Field.contribute_to_class().
...
Co-authored-by: Jarek Glowacki <jarekwg@gmail.com>
2021-06-15 12:01:28 +02:00
Mariusz Felisiak
fcd44b889f
Refs #14357 -- Updated docs about interaction between aggregations and QuerySet.order_by().
...
Obsolete since 0ddb4ebf7b
.
2021-06-08 16:39:00 +02:00
Mariusz Felisiak
66491f08fe
Changed IRC references to Libera.Chat.
2021-05-20 12:23:36 +02:00
Nick Pope
c156e36955
Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.
2021-05-17 09:46:09 +02:00
Nick Pope
7c4ee487c7
Refs #32720 -- Fixed some broken links in docs.
2021-05-17 09:22:17 +02:00
Hasan Ramezani
1351f2ee16
Fixed #32618 -- Added link to conditional aggregation in aggregation topic guide.
2021-04-09 21:34:44 +02:00
Johan Schiff
d01709aae2
Fixed #24141 -- Added QuerySet.contains().
2021-03-06 20:40:29 +01:00
Johannes Wilm
0fd05df7b5
Refs #4027 -- Added Model._state.adding to docs about copying model instances.
2021-02-22 11:14:58 +01:00
Adam Johnson
59e503b670
Modernized custom manager example
...
Since this example was added 15 years ago in a8ccdd0fcd
, the ORM has gained the ability to do the `COUNT(*)` related query, so do it with the ORM to avoid misleading users that raw SQL is only supported from manager methods.
2021-01-28 15:59:39 +01:00
Adam Johnson
8a642b88c3
Changed "Don't overuse count() or exists()" example to Python.
2021-01-27 20:24:27 +01:00
Mariusz Felisiak
73ffc73b68
Corrected versionadded annotations.
2021-01-19 11:52:47 +01:00
Mariusz Felisiak
b7dd89ed53
Removed versionadded/changed annotations for 3.1.
2021-01-14 17:50:04 +01:00
Alexander Lyabah
415f50298f
Fixed #32231 -- Allowed passing None params to QuerySet.raw().
2021-01-05 10:37:11 +01:00
Tom Forbes
b5e12d490a
Fixed #31007 -- Allowed specifying type of auto-created primary keys.
...
This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField.
2020-12-15 11:25:46 +01:00
Jon Dufresne
550297d20d
Added backticks to code literals in various docs.
2020-12-15 07:19:00 +01:00
Florian Apolloner
98e05ccde4
Fixed #32233 -- Cleaned-up duplicate connection functionality.
2020-12-08 08:55:44 +01:00
Ian Foote
3828879eee
Fixed #32220 -- Added durable argument to transaction.atomic().
2020-11-27 21:43:15 +01:00
Ian Foote
8b040e3cbb
Fixed #25534 , Fixed #31639 -- Added support for transform references in expressions.
...
Thanks Mariusz Felisiak and Simon Charette for reviews.
2020-11-27 20:42:04 +01:00
Nick Pope
477c800443
Changed docs and a code comment to use gender-neutral pronouns.
...
Follow up to e1b7723817
.
2020-11-13 22:26:30 +01:00
Hasan Ramezani
c448e614c6
Fixed #32187 -- Removed unnecessary select_related in queries doc.
2020-11-12 10:06:04 +01:00
Simon Charette
284bde3fbe
Refs #9475 -- Linked through_default docs to related managers methods.
2020-10-22 10:08:35 +02:00
Carlton Gibson
1b32b2f614
Fixed #32083 -- Added link back to migrating section in multi-db docs example.
2020-10-08 12:45:06 +02:00
jpribyl
17407eca59
Fixed #31894 -- Added note about using JSONField key lookups with QuerySet.exclude() in docs.
2020-09-04 09:04:38 +02:00
Abdullah Dursun
fcad0b1324
Corrected note about long names in search docs.
2020-08-31 22:36:25 +02:00
sage
2d8dcba03a
Fixed #31829 -- Used JSONField __contains lookup on key transforms.
2020-07-28 13:10:12 +02:00
Mariusz Felisiak
ba691933ce
Fixed #31836 -- Dropped support for JSONField __contains and __contained_by lookups on SQLite.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
2020-07-28 13:06:52 +02:00
Mariusz Felisiak
02447fb133
Fixed #31835 -- Dropped support for JSONField __contains lookup on Oracle.
...
The current implementation works only for basic examples without
supporting nested structures and doesn't follow "the general principle
that the contained object must match the containing object as to
structure and data contents, possibly after discarding some
non-matching array elements or object key/value pairs from the
containing object".
2020-07-28 11:54:01 +02:00
Adam Johnson
5ef6f62634
Refs #31502 -- Made minor edits to Model._state docs.
2020-07-16 20:50:53 +02:00
Adam Johnson
e906ff6fca
Fixed #30457 -- Added TestCase.captureOnCommitCallbacks().
2020-07-13 11:56:46 +02:00
MansurAliKoroglu
d88952142b
Adjusted multi-db example to avoid confusion with DATABASES keys.
2020-07-03 12:41:00 +02:00
David Smith
dbdc192ca3
Preferred usage of among/while to amongst/whilst.
2020-06-03 21:02:48 +02:00
David Smith
06c8565a46
Updated link to Celery.
2020-06-02 14:37:16 +02:00
Nikita Sobolev
682b295c6c
Made small improvement to docs/topics/db/multi-db.txt.
2020-06-01 10:20:00 +02:00
Jon Dufresne
494ba27b5f
Changed some doc links to use intersphinx.
2020-05-29 21:09:57 +02:00
Carlton Gibson
5af17babb0
Fixed #31591 -- Clarified "reverse" lookup name in making queries docs.
2020-05-19 20:27:05 +02:00
Nick Pope
a9337b4add
Used :pep: role in various docs.
2020-05-13 09:14:04 +02:00
sage
6789ded0a6
Fixed #12990 , Refs #27694 -- Added JSONField model field.
...
Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael
Michel for mentoring this Google Summer of Code 2019 project and
everyone else who helped with the patch.
Special thanks to Mads Jensen, Nick Pope, and Simon Charette for
extensive reviews.
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2020-05-08 07:23:31 +02:00
Adam Johnson
d17b380653
Refs #30573 -- Rephrased "Of Course" and "Obvious(ly)" in documentation and comments.
2020-05-04 12:10:47 +02:00
Greg Kaleka
5d2f5dd4cc
Doc'd Meta inheritance from abstract parents.
2020-05-01 07:48:50 +02:00
Hasan Ramezani
33f7739108
Fixed #31356 -- Changed IRC links to the Freenode webchat.
2020-04-29 20:08:36 +02:00
Simon Charette
fa5e7e46d8
Fixed #31423 -- Clarified nested atomic() example.
2020-04-04 20:39:33 +02:00
Hannes Ljungberg
f3da09df0f
Fixed #31396 -- Added binary XOR operator to F expressions.
2020-03-25 10:16:30 +01:00
Philipp Bosch
f75af5b67b
Corrected outdated sentence in One-to-one relationships docs.
2020-03-17 10:49:37 +01:00
Adam Radwon
a2f554249e
Fixed #27865 -- Adjusted docs example to avoid confusion with models.BaseManager.
2020-03-10 09:14:30 +01:00
Shrikrishna Singh
370628673b
Fixed #31350 -- Fixed typo in docs/topics/db/optimization.txt.
2020-03-09 07:54:25 +01:00
Carlton Gibson
08a6215d33
Fixed #31342 -- Clarified docs about using base managers for related objects.
2020-03-06 11:08:08 +01:00
Matheus Cunha Motta
0352a44dd6
Fixed #31303 -- Removed outdated note about symmetrical intermediate table for self-referential ManyToManyField.
...
Follow up to 87b1ad6e73
.
2020-02-24 08:26:29 +01:00