1
0
mirror of https://github.com/django/django.git synced 2024-12-28 20:16:19 +00:00
django/docs/topics/db
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
..
examples Changed docs and a code comment to use gender-neutral pronouns. 2020-11-13 22:26:30 +01:00
aggregation.txt Removed unnecessary code-block directives in various docs. 2019-12-23 14:47:13 +01:00
index.txt
instrumentation.txt
managers.txt Modernized custom manager example 2021-01-28 15:59:39 +01:00
models.txt Fixed #31007 -- Allowed specifying type of auto-created primary keys. 2020-12-15 11:25:46 +01:00
multi-db.txt Fixed #32233 -- Cleaned-up duplicate connection functionality. 2020-12-08 08:55:44 +01:00
optimization.txt Changed "Don't overuse count() or exists()" example to Python. 2021-01-27 20:24:27 +01:00
queries.txt Corrected versionadded annotations. 2021-01-19 11:52:47 +01:00
search.txt Corrected note about long names in search docs. 2020-08-31 22:36:25 +02:00
sql.txt Fixed #32231 -- Allowed passing None params to QuerySet.raw(). 2021-01-05 10:37:11 +01:00
tablespaces.txt
transactions.txt Fixed #32220 -- Added durable argument to transaction.atomic(). 2020-11-27 21:43:15 +01:00