diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index a5a0787d4c2..57db085c5f4 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2085,7 +2085,7 @@ where the default is such that at most 999 variables per query are used. .. method:: count() Returns an integer representing the number of objects in the database matching -the ``QuerySet``. The ``count()`` method never raises exceptions. +the ``QuerySet``. Example::