1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

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
This commit is contained in:
Joseph Kocherhans
2010-02-23 17:14:50 +00:00
parent 10b1871441
commit f2d5582c53
9 changed files with 95 additions and 4 deletions

View File

@@ -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 = [