summaryrefslogtreecommitdiff
path: root/django/contrib/admin/options.py
diff options
context:
space:
mode:
authorMarco Marra <marrez89@gmail.com>2022-11-08 20:41:29 +0100
committerGitHub <noreply@github.com>2022-11-08 20:41:29 +0100
commit41e8931c2cc68d8b2de4219be930e2c305b4eba1 (patch)
treeef1e8e220776894e2ea8e46767706d3e867a725e /django/contrib/admin/options.py
parente0fb2a25b973a5e539d908f7f31112fb10622bd4 (diff)
Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.
Diffstat (limited to 'django/contrib/admin/options.py')
-rw-r--r--django/contrib/admin/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py
index e6d4ae12bb..6c6ee8cee7 100644
--- a/django/contrib/admin/options.py
+++ b/django/contrib/admin/options.py
@@ -561,7 +561,7 @@ class BaseModelAdmin(metaclass=forms.MediaDefiningClass):
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.