mirror of
https://github.com/Hopiu/django.git
synced 2026-04-08 17:11:06 +00:00
Fixed typo in django/contrib/admin/options.py comment.
This commit is contained in:
parent
3b79dab19a
commit
85df081add
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue