mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-23 14:25:50 +00:00
Provide the original and copied pages to process_child_object()
This commit is contained in:
parent
593d58c1bb
commit
78425725c9
1 changed files with 1 additions and 1 deletions
|
|
@ -1131,7 +1131,7 @@ class Page(AbstractPage, index.Indexed, ClusterableModel, metaclass=PageBase):
|
|||
setattr(child_object, parental_key_name, page_copy.id)
|
||||
|
||||
if process_child_object is not None:
|
||||
process_child_object(child_relation, child_object)
|
||||
process_child_object(specific_self, page_copy, child_relation, child_object)
|
||||
|
||||
child_object.save()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue