diff options
| author | Matthias Kestenholz <mk@feinheit.ch> | 2024-08-07 23:10:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 18:10:49 -0300 |
| commit | 54888408a1e5552d9a42584550bda2355ed45943 (patch) | |
| tree | 89eaf496050da022a73ba0af4a96f6148c993e49 /django/contrib/admin/options.py | |
| parent | 790f0f8868b0cde9a9bec1f0621efa53b00c87df (diff) | |
Fixed #35639 -- Improved admin's delete confirmation page title.
Diffstat (limited to 'django/contrib/admin/options.py')
| -rw-r--r-- | django/contrib/admin/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index 2257b3072e..6d5c0708a3 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -2229,7 +2229,7 @@ class ModelAdmin(BaseModelAdmin): if perms_needed or protected: title = _("Cannot delete %(name)s") % {"name": object_name} else: - title = _("Are you sure?") + title = _("Delete") context = { **self.admin_site.each_context(request), |
