summaryrefslogtreecommitdiff
path: root/tests/regressiontests/modeladmin
diff options
context:
space:
mode:
authorJoseph Kocherhans <joseph@jkocherhans.com>2010-02-23 17:14:50 +0000
committerJoseph Kocherhans <joseph@jkocherhans.com>2010-02-23 17:14:50 +0000
commitf2d5582c53f9b667f482842cbb3213db91d35d5e (patch)
treeb5972eb5ab7f28191181a882fcc0389ba309522f /tests/regressiontests/modeladmin
parent10b187144169b93ab913d90d218fe4cbfbf507bf (diff)
Fixed #12561. InlineAdmin now respects can_delete=False. Thanks, nessita.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12533 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/modeladmin')
-rw-r--r--tests/regressiontests/modeladmin/models.py1
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 = [