def apphook_pre_title_checker(instance, **kwargs):
 if instance.publisher_is_draft:
  return
 try:
  instance._old_data = Title.objects.filter(pk=instance.pk).select_related('page')[0]
 except IndexError:
  instance._old_data = None

def apphook_pre_title_checker ( instance , ** kwargs ) : if instance . publisher_is_draft : return try : instance . _old_data = Title . objects . filter ( pk = instance . pk ) . select_related ( 'page' ) [ 0 ] except IndexError : instance . _old_data = None
store the old application_urls and path on the instance .