From 41e8931c2cc68d8b2de4219be930e2c305b4eba1 Mon Sep 17 00:00:00 2001 From: Marco Marra Date: Tue, 8 Nov 2022 20:41:29 +0100 Subject: [PATCH] Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring. --- django/contrib/admin/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index e6d4ae12bbbd..6c6ee8cee77e 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -561,7 +561,7 @@ def has_change_permission(self, request, obj=None): def has_delete_permission(self, request, obj=None): """ - Return True if the given request has permission to change the given + Return True if the given request has permission to delete the given Django model instance, the default implementation doesn't examine the `obj` parameter.