Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.

This commit is contained in:
Marco Marra 2022-11-08 20:41:29 +01:00 committed by GitHub
parent e0fb2a25b9
commit 41e8931c2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.