diff options
| author | Ikko Ashimine <eltociear@gmail.com> | 2022-07-25 14:19:52 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-25 07:19:52 +0200 |
| commit | 85df081add3df46b2ce15be80eef62c83ee0e4a7 (patch) | |
| tree | 179b72b6110078949c9fcee459f16e58dd9a392f | |
| parent | 3b79dab19a2300a4884a3d81baa6c7c1f2dee059 (diff) | |
Fixed typo in django/contrib/admin/options.py comment.
| -rw-r--r-- | django/contrib/admin/options.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
