summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial07.txt
diff options
context:
space:
mode:
authorRaj Desai <rajdesai024@gmail.com>2023-01-04 17:07:37 +0530
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2023-01-04 13:26:34 +0100
commitd2310f6473593d28c14b63a72253408b568e100a (patch)
tree2d75eac3248b672e68626ae23245275e18f29f43 /docs/intro/tutorial07.txt
parent0fdc5d79b6cfe7317fd6b19f4cdf2183f2d048d1 (diff)
Fixed #34232 -- Fixed typo in docs/intro/tutorial07.txt.
Diffstat (limited to 'docs/intro/tutorial07.txt')
-rw-r--r--docs/intro/tutorial07.txt14
1 files changed, 7 insertions, 7 deletions
diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt
index 9e4279e89f..35205e6119 100644
--- a/docs/intro/tutorial07.txt
+++ b/docs/intro/tutorial07.txt
@@ -106,12 +106,12 @@ database. Django knows that a :class:`~django.db.models.ForeignKey` should be
represented in the admin as a ``<select>`` box. In our case, only one question
exists at this point.
-Also note the "Add Another" link next to "Question." Every object with a
-``ForeignKey`` relationship to another gets this for free. When you click "Add
-Another", you'll get a popup window with the "Add question" form. If you add a question
-in that window and click "Save", Django will save the question to the database and
-dynamically add it as the selected choice on the "Add choice" form you're
-looking at.
+Also note the "Add another question" link next to "Question." Every object with
+a ``ForeignKey`` relationship to another gets this for free. When you click
+"Add another question", you'll get a popup window with the "Add question" form.
+If you add a question in that window and click "Save", Django will save the
+question to the database and dynamically add it as the selected choice on the
+"Add choice" form you're looking at.
But, really, this is an inefficient way of adding ``Choice`` objects to the system.
It'd be better if you could add a bunch of Choices directly when you create the
@@ -180,7 +180,7 @@ related objects are displayed in a more compact, table-based format:
:alt: Add question page now has more compact choices
Note that there is an extra "Delete?" column that allows removing rows added
-using the "Add Another Choice" button and rows that have already been saved.
+using the "Add another Choice" button and rows that have already been saved.
Customize the admin change list
===============================