Skip to content

Commit

Permalink
Fixed typo in BaseModelAdmin.has_delete_permission()'s docstring.
Browse files Browse the repository at this point in the history
  • Loading branch information
marcopus authored Nov 8, 2022
1 parent e0fb2a2 commit 41e8931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/admin/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 41e8931

Please sign in to comment.