def update_pub_date(page, field_name, value):
    setattr(page, field_name, update_pub_date.pub_date)
def update_pub_date(page, field_name, value):
    setattr(page, field_name, update_pub_date.pub_date)