0
0
mirror of https://github.com/django/django.git synced 2024-12-01 15:42:04 +01:00

Fixed typo in django/contrib/admin/options.py comment.

This commit is contained in:
Ikko Ashimine 2022-07-25 14:19:52 +09:00 committed by GitHub
parent 3b79dab19a
commit 85df081add
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1690,7 +1690,7 @@ class ModelAdmin(BaseModelAdmin):
has_change_permission = inline.has_change_permission(request, obj)
has_delete_permission = inline.has_delete_permission(request, obj)
else:
# Disable all edit-permissions, and overide formset settings.
# Disable all edit-permissions, and override formset settings.
has_add_permission = (
has_change_permission
) = has_delete_permission = False