mirror of https://github.com/django/django.git
Fixed #7897 -- Corrected some spelling and grammatical errors in the InlineModelAdmin objects documentation. Thanks arthurk and Karen Tracey for catching these.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8065 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
7b3cf13d32
commit
4e723f9571
|
@ -500,8 +500,8 @@ apply as `regular media definitions on forms`_.
|
||||||
============================
|
============================
|
||||||
|
|
||||||
The admin interface has the ability to edit models on the same page as a
|
The admin interface has the ability to edit models on the same page as a
|
||||||
parent model. These are called inlines. You can add them a model being
|
parent model. These are called inlines. You can add them to a model by
|
||||||
specifing them in a ``ModelAdmin.inlines`` attribute::
|
specifying them in a ``ModelAdmin.inlines`` attribute::
|
||||||
|
|
||||||
class BookInline(admin.TabularInline):
|
class BookInline(admin.TabularInline):
|
||||||
model = Book
|
model = Book
|
||||||
|
|
Loading…
Reference in New Issue