mirror of https://github.com/django/django.git
Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.
This commit is contained in:
parent
e0fb2a25b9
commit
41e8931c2c
|
@ -561,7 +561,7 @@ class BaseModelAdmin(metaclass=forms.MediaDefiningClass):
|
||||||
|
|
||||||
def has_delete_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
|
Django model instance, the default implementation doesn't examine the
|
||||||
`obj` parameter.
|
`obj` parameter.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue