Browse files

[1.4.X] Fixed #17704 - Updated the StackedInline section in Tutorial …

…2; thanks xbito for the draft patch.

Backport of 2a16eb0 from master
  • Loading branch information...
timgraham committed Aug 2, 2012
1 parent d1ae3c8 commit e9f458133c7e2357e66b3e0b97f7b454ae34a684
Showing with 8 additions and 0 deletions.
  1. BIN docs/intro/_images/admin15t.png
  2. +8 −0 docs/intro/tutorial02.txt
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -308,6 +308,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

0 comments on commit e9f4581

Please sign in to comment.