1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +00:00

Corrected a markup error in the m2m inline docs.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@11723 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Russell Keith-Magee 2009-11-04 15:05:49 +00:00
parent 2c609b4019
commit 77abadfa6a

View File

@ -1070,7 +1070,7 @@ Suppose we have the following models::
members = models.ManyToManyField(Person, related_name='groups') members = models.ManyToManyField(Person, related_name='groups')
If you want to display many-to-many relations using an inline, you can do If you want to display many-to-many relations using an inline, you can do
so by defining an ``InlineModelAdmin`` object for the relationship. so by defining an ``InlineModelAdmin`` object for the relationship::
class MembershipInline(admin.TabularInline): class MembershipInline(admin.TabularInline):
model = Group.members.through model = Group.members.through