def sync_mptt_tree_fields_from_draft_to_published_post_save(
        sender, instance, **kwargs):
    """
    Post save trigger to immediately sync MPTT tree structure field changes
    made to draft copies to their corresponding published copy.
    """
    mptt_opts = getattr(instance, '_mptt_meta', None)
    published_copy = getattr(instance, 'publishing_linked', None)
    if mptt_opts and published_copy:
        sync_mptt_tree_fields_from_draft_to_published(instance)
def sync_mptt_tree_fields_from_draft_to_published_post_save ( sender , instance , ** kwargs ) : mptt_opts = getattr ( instance , '_mptt_meta' , None ) published_copy = getattr ( instance , 'publishing_linked' , None ) if mptt_opts and published_copy : sync_mptt_tree_fields_from_draft_to_published ( instance )
Post save trigger to immediately sync MPTT tree structure field changes
    made to draft copies to their corresponding published copy.