summaryrefslogtreecommitdiff
path: root/docs/model-api.txt
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2005-08-09 21:08:00 +0000
committerAdrian Holovaty <adrian@holovaty.com>2005-08-09 21:08:00 +0000
commit4f00611f747b566cb7586f02462e57829424f077 (patch)
tree8977304e1ad1a929815c6c0d4696f041c53094df /docs/model-api.txt
parente79eb09f2169ba9497283ab1a9e31c49e857fa93 (diff)
Fixed #211 -- edit_inline_type is deprecated, in favor of edit_inline itself. For example, instead of 'edit_inline=True, edit_inline_type=meta.TABULAR', use 'edit_inline=meta.TABULAR'.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@440 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/model-api.txt')
-rw-r--r--docs/model-api.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/model-api.txt b/docs/model-api.txt
index f071c1bfcb..7b93032919 100644
--- a/docs/model-api.txt
+++ b/docs/model-api.txt
@@ -316,16 +316,13 @@ Field Types
======================= ============================================================
Argument Description
======================= ============================================================
- ``edit_inline`` If ``True``, this related object is edited
+ ``edit_inline`` If not ``False``, this related object is edited
"inline" on the related object's page. This means
that the object will not have its own admin
- interface.
-
- ``edit_inline_type`` This is either ``meta.TABULAR`` or
- ``meta.STACKED`` and controls whether the inline
- editable objects are displayed as a table or as
- a "stack" of fieldsets. Defaults to
- ``meta.STACKED``.
+ interface. Use either ``meta.TABULAR`` or ``meta.STACKED``,
+ which, respectively, designate whether the inline-editable
+ objects are displayed as a table or as a "stack" of
+ fieldsets.
``limit_choices_to`` A dictionary of lookup arguments and values (see
the `Database API reference`_) that limit the