summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial02.txt
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2012-08-02 19:21:48 -0400
committerTim Graham <timograham@gmail.com>2012-08-02 19:22:49 -0400
commit2a16eb07927c866b4d8e1d318f71bd1038b34cae (patch)
tree355dc340d3634fcf50c6ab1b489eb31b98f8f1c6 /docs/intro/tutorial02.txt
parent07e10fbe9f1a77fe03cfceeb008e1e56caba3a40 (diff)
Fixed #17704 - Updated the StackedInline section in Tutorial 2; thanks xbito for the draft patch.
Diffstat (limited to 'docs/intro/tutorial02.txt')
-rw-r--r--docs/intro/tutorial02.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt
index 84da36be86..fd13230c8b 100644
--- a/docs/intro/tutorial02.txt
+++ b/docs/intro/tutorial02.txt
@@ -311,6 +311,14 @@ It works like this: There are three slots for related Choices -- as specified
by ``extra`` -- and each time you come back to the "Change" page for an
already-created object, you get another three extra slots.
+At the end of the three current slots you will find an "Add another Choice"
+link. If you click on it, a new slot will be added. If you want to remove the
+added slot, you can click on the X to the top right of the added slot. Note
+that you can't remove the original three slots. This image shows an added slot:
+
+.. image:: _images/admin15t.png
+ :alt: Additional slot added dynamically
+
One small problem, though. It takes a lot of screen space to display all the
fields for entering related ``Choice`` objects. For that reason, Django offers a
tabular way of displaying inline related objects; you just need to change