summaryrefslogtreecommitdiff
path: root/docs/intro/tutorial07.txt
diff options
context:
space:
mode:
Diffstat (limited to 'docs/intro/tutorial07.txt')
-rw-r--r--docs/intro/tutorial07.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt
index 9cdadbe286..8cb5dd5d5a 100644
--- a/docs/intro/tutorial07.txt
+++ b/docs/intro/tutorial07.txt
@@ -174,8 +174,7 @@ tabular way of displaying inline related objects. To use it, change the
.. code-block:: python
:caption: ``polls/admin.py``
- class ChoiceInline(admin.TabularInline):
- ...
+ class ChoiceInline(admin.TabularInline): ...
With that ``TabularInline`` (instead of ``StackedInline``), the
related objects are displayed in a more compact, table-based format: