From 1af06ffaa537fc9aefb76b6589072873d7dbf54a Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Thu, 17 Mar 2022 11:10:03 +0100 Subject: [4.0.x] Added missing backticks to function names. Backport of 39ae8d740e30c18e46873cf82aff76588f1974c7 from main --- docs/ref/models/querysets.txt | 4 ++-- docs/ref/utils.txt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'docs/ref') diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 4680cee1e6..39b53f0dc3 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -1618,8 +1618,8 @@ one, doing so will result in an error. the full set of fields for the model will be significant. Even if you think you are in the advanced use-case situation, **only use - defer() when you cannot, at queryset load time, determine if you will need - the extra fields or not**. If you are frequently loading and using a + ``defer()`` when you cannot, at queryset load time, determine if you will + need the extra fields or not**. If you are frequently loading and using a particular subset of your data, the best choice you can make is to normalize your models and put the non-loaded data into a separate model (and database table). If the columns *must* stay in the one table for some diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt index 25e5fdb2c9..b16b5c99c5 100644 --- a/docs/ref/utils.txt +++ b/docs/ref/utils.txt @@ -332,7 +332,8 @@ https://web.archive.org/web/20110718035220/http://diveintomark.org/archives/2004 .. class:: SyndicationFeed - Base class for all syndication feeds. Subclasses should provide write(). + Base class for all syndication feeds. Subclasses should provide + ``write()``. .. method:: __init__(title, link, description, language=None, author_email=None, author_name=None, author_link=None, subtitle=None, categories=None, feed_url=None, feed_copyright=None, feed_guid=None, ttl=None, **kwargs) -- cgit v1.3