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:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user