pull/5403/head
John Carter 2019-06-19 04:48:10 +12:00 zatwierdzone przez Karl Hobley
rodzic 3eb71d702e
commit 17e541715a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -376,7 +376,7 @@ class ModelAdmin(WagtailRegisterable):
def edit_view(self, request, instance_pk):
"""
Instantiates a class-based view to provide 'edit' functionality for the
assigned model, or redirect to Wagtail's edit view if the assinged
assigned model, or redirect to Wagtail's edit view if the assigned
model extends 'Page'. The view class used can be overridden by changing
the 'edit_view_class' attribute.
"""
@ -388,7 +388,7 @@ class ModelAdmin(WagtailRegisterable):
"""
Instantiates a class-based view to provide 'delete confirmation'
functionality for the assigned model, or redirect to Wagtail's delete
confirmation view if the assinged model extends 'Page'. The view class
confirmation view if the assigned model extends 'Page'. The view class
used can be overridden by changing the 'delete_view_class'
attribute.
"""