diff options
| author | Tim Graham <timograham@gmail.com> | 2012-08-02 19:21:48 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-08-02 19:23:34 -0400 |
| commit | e9f458133c7e2357e66b3e0b97f7b454ae34a684 (patch) | |
| tree | 7350d0d5703899b93cb4757e6ccea2b9d876efea /docs | |
| parent | d1ae3c899f9284beba43ae2c82c42a5feeabdda1 (diff) | |
[1.4.X] Fixed #17704 - Updated the StackedInline section in Tutorial 2; thanks xbito for the draft patch.
Backport of 2a16eb0792 from master
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/intro/_images/admin15t.png | bin | 0 -> 22805 bytes | |||
| -rw-r--r-- | docs/intro/tutorial02.txt | 8 |
2 files changed, 8 insertions, 0 deletions
diff --git a/docs/intro/_images/admin15t.png b/docs/intro/_images/admin15t.png Binary files differnew file mode 100644 index 0000000000..999d0519fb --- /dev/null +++ b/docs/intro/_images/admin15t.png diff --git a/docs/intro/tutorial02.txt b/docs/intro/tutorial02.txt index fe7b74d82a..9fb2de1d2f 100644 --- a/docs/intro/tutorial02.txt +++ b/docs/intro/tutorial02.txt @@ -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 |
