publish_user = relationship(User, foreign_keys=[publishing_user_id],
    backref=backref('pages', order_by=id))
edit_user = relationship(User, foreign_keys=[last_edit_user_id])
How to define two relationships to the same table in SQLAlchemy