diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index c200faf825..98646d5344 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -2093,7 +2093,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::