From 85df081add3df46b2ce15be80eef62c83ee0e4a7 Mon Sep 17 00:00:00 2001 From: Ikko Ashimine Date: Mon, 25 Jul 2022 14:19:52 +0900 Subject: [PATCH] Fixed typo in django/contrib/admin/options.py comment. --- django/contrib/admin/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/contrib/admin/options.py b/django/contrib/admin/options.py index f959a8dc48..cb77048fe1 100644 --- a/django/contrib/admin/options.py +++ b/django/contrib/admin/options.py @@ -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