mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Fixed #15233 -- reST/Sphinx markup corrections in numerous areas, mostly centering around bad crossref targets. Thanks to Aryeh Leib Taurog for the draft patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15549 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
a40685fdfc
commit
319de16ff0
9 changed files with 307 additions and 268 deletions
|
@ -1110,6 +1110,8 @@ information.
|
|||
============================
|
||||
|
||||
.. class:: InlineModelAdmin
|
||||
.. class:: TabularInline
|
||||
.. class:: StackedInline
|
||||
|
||||
The admin interface has the ability to edit models on the same page as a
|
||||
parent model. These are called inlines. Suppose you have these two models::
|
||||
|
@ -1134,8 +1136,8 @@ information.
|
|||
|
||||
Django provides two subclasses of ``InlineModelAdmin`` and they are:
|
||||
|
||||
* ``TabularInline``
|
||||
* ``StackedInline``
|
||||
* :class:`~django.contrib.admin.TabularInline`
|
||||
* :class:`~django.contrib.admin.StackedInline`
|
||||
|
||||
The difference between these two is merely the template used to render
|
||||
them.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue