diff options
| author | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-02-23 17:26:20 +0000 |
|---|---|---|
| committer | Joseph Kocherhans <joseph@jkocherhans.com> | 2010-02-23 17:26:20 +0000 |
| commit | 651082267956cef3bf3dbd48c5314046c14ca01c (patch) | |
| tree | 62bc9798c14d7873b9f6238a896583be0fb8f34b /tests/regressiontests/modeladmin | |
| parent | c7117b103a5a2ae50903faf2197ebafb6cd3687a (diff) | |
[1.1.X] Fixed #12561. InlineAdmin now respects can_delete=False. Backport of [12533] from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12534 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/modeladmin')
| -rw-r--r-- | tests/regressiontests/modeladmin/models.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/regressiontests/modeladmin/models.py b/tests/regressiontests/modeladmin/models.py index ef05b5a048..ae5c1aecf0 100644 --- a/tests/regressiontests/modeladmin/models.py +++ b/tests/regressiontests/modeladmin/models.py @@ -291,6 +291,7 @@ blank=True for the model field. Finally, the widget should have the ... form = AdminConcertForm ... model = Concert ... fk_name = 'main_band' +... can_delete = True >>> class BandAdmin(ModelAdmin): ... inlines = [ |
