summaryrefslogtreecommitdiff
path: root/docs/ref/contrib/contenttypes.txt
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2010-12-31 23:06:07 +0000
committerRamiro Morales <cramm0@gmail.com>2010-12-31 23:06:07 +0000
commite501f502370b829d0bb2f1ed9c6e94bbfa5206f6 (patch)
treef8b515c3970cdf7ad1f93f085a6ecdf2950f7bd4 /docs/ref/contrib/contenttypes.txt
parentfa4ac6f80ca0417b04106626c854f09a6f15879d (diff)
[1.2.X] Fixed #13307 -- Enhanced the generic inlines documentation by mentioning the concrete Generic{Tabular,Stacked}Inline classes that should be used. Thanks loki77 for the report.
Backport of [15124] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@15125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/ref/contrib/contenttypes.txt')
-rw-r--r--docs/ref/contrib/contenttypes.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/ref/contrib/contenttypes.txt b/docs/ref/contrib/contenttypes.txt
index b6956512ad..d98dd9a8cd 100644
--- a/docs/ref/contrib/contenttypes.txt
+++ b/docs/ref/contrib/contenttypes.txt
@@ -359,12 +359,15 @@ relations, you'll need to calculate them without using the aggregation API.
Generic relations in forms and admin
------------------------------------
-:mod:`django.contrib.contenttypes.generic` provides both a
-:class:`~django.contrib.contenttypes.generic.GenericInlineFormSet`
-and :class:`~django.contrib.contenttypes.generic.GenericInlineModelAdmin`.
+:mod:`django.contrib.contenttypes.generic` provides
+:class:`~django.contrib.contenttypes.generic.GenericInlineFormSet`,
+:class:`~django.contrib.contenttypes.generic.GenericTabularInline`
+and :class:`~django.contrib.contenttypes.generic.GenericStackedInline`
+(the last two subclasses of :class:`~django.contrib.contenttypes.generic.GenericInlineModelAdmin`).
This enables the use of generic relations in forms and the admin. See the
:doc:`model formset </topics/forms/modelforms>` and
-:doc:`admin </ref/contrib/admin/index>` documentation for more information.
+:ref:`admin <using-generic-relations-as-an-inline>` documentation for more
+information.
.. class:: generic.GenericInlineModelAdmin