diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/2.1.txt | 3 | ||||
| -rw-r--r-- | docs/topics/db/sql.txt | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/releases/2.1.txt b/docs/releases/2.1.txt index 7b65b90b9c..f3a99e5fc0 100644 --- a/docs/releases/2.1.txt +++ b/docs/releases/2.1.txt @@ -401,6 +401,9 @@ Miscellaneous * The admin CSS class ``field-box`` is renamed to ``fieldBox`` to prevent conflicts with the class given to model fields named "box". +* ``QuerySet.raw()`` now caches its results like regular querysets. Use + ``iterator()`` if you don't want caching. + .. _deprecated-features-2.1: Features deprecated in 2.1 diff --git a/docs/topics/db/sql.txt b/docs/topics/db/sql.txt index 96d79a999c..cff628011e 100644 --- a/docs/topics/db/sql.txt +++ b/docs/topics/db/sql.txt @@ -91,10 +91,7 @@ options that make it very powerful. :class:`~django.db.models.query.QuerySet`, ``RawQuerySet`` doesn't implement all methods you can use with ``QuerySet``. For example, ``__bool__()`` and ``__len__()`` are not defined in ``RawQuerySet``, and - thus all ``RawQuerySet`` instances are considered ``True``. The reason - these methods are not implemented in ``RawQuerySet`` is that implementing - them without internal caching would be a performance drawback and adding - such caching would be backward incompatible. + thus all ``RawQuerySet`` instances are considered ``True``. Mapping query fields to model fields ------------------------------------ |
