diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-08-09 21:08:00 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-08-09 21:08:00 +0000 |
| commit | 4f00611f747b566cb7586f02462e57829424f077 (patch) | |
| tree | 8977304e1ad1a929815c6c0d4696f041c53094df /docs/db-api.txt | |
| parent | e79eb09f2169ba9497283ab1a9e31c49e857fa93 (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/db-api.txt')
| -rw-r--r-- | docs/db-api.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/db-api.txt b/docs/db-api.txt index 02faa8a484..40fe40a64d 100644 --- a/docs/db-api.txt +++ b/docs/db-api.txt @@ -20,7 +20,7 @@ Throughout this reference, we'll refer to the following Poll application:: class Choice(meta.Model): fields = ( - meta.ForeignKey(Poll, edit_inline=True, edit_inline_type=meta.TABULAR, + meta.ForeignKey(Poll, edit_inline=meta.TABULAR, num_in_admin=10, min_num_in_admin=5), meta.CharField('choice', maxlength=255, core=True), meta.IntegerField('votes', editable=False, default=0), |
