summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial02.txt
diff options
context:
space:
mode:
authorLang Tran <lang.tran96@gmail.com>2024-04-04 15:05:18 -0400
committerGitHub <noreply@github.com>2024-04-04 16:05:18 -0300
commite279c724c12b4edc808cd208245dfa6d10505879 (patch)
treedad923166eb3e0effe6eb54a6108a425be7fa053 /docs/intro/tutorial02.txt
parent4636baec179d8733e92c1eccfa669bd72d739735 (diff)
Fixed #35347 -- Clarified choice_set attribute in tutorial 2.
Diffstat (limited to 'docs/intro/tutorial02.txt')
-rw-r--r--docs/intro/tutorial02.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index d558a3eb1d..3cda0d38d6 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -515,8 +515,8 @@ Save these changes and start a new Python interactive shell by running
# Give the Question a couple of Choices. The create call constructs a new
# Choice object, does the INSERT statement, adds the choice to the set
# of available choices and returns the new Choice object. Django creates
- # a set to hold the "other side" of a ForeignKey relation
- # (e.g. a question's choice) which can be accessed via the API.
+ # a set (defined as "choice_set") to hold the "other side" of a ForeignKey
+ # relation (e.g. a question's choice) which can be accessed via the API.
>>> q = Question.objects.get(pk=1)
# Display any choices from the related object set -- none so far.