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:
parent
3b79dab19a
commit
85df081add
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user