diff --git a/django/contrib/admin/templates/admin/change_form.html b/django/contrib/admin/templates/admin/change_form.html index 2fb17bb943..f645d65a0f 100644 --- a/django/contrib/admin/templates/admin/change_form.html +++ b/django/contrib/admin/templates/admin/change_form.html @@ -54,7 +54,7 @@ {% submit_row %} -{% if add %} +{% if adminform and add %} {% endif %}