1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

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

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.