diff options
| author | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2026-04-07 12:16:21 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2026-04-13 15:34:34 +0300 |
| commit | 746f5fd23e50589ef3ad27b1dad46b569f600fa0 (patch) | |
| tree | d2eee5a0da68de12964afa833b163c926a1ffd0e | |
| parent | 7dc826b9758d634623a6f5ca05d0ca2048a0ce48 (diff) | |
Clarified "Add another question" as the plus sign button.
| -rw-r--r-- | docs/intro/tutorial07.txt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt index ab77f2b540..3e963d3280 100644 --- a/docs/intro/tutorial07.txt +++ b/docs/intro/tutorial07.txt @@ -109,12 +109,12 @@ the 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 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. +Also note the "Add another question" button (displayed as a plus sign) to the +right of the "Question" field. Every ``ForeignKey`` relationship gets this +button for free. When you click this button, 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 |
