def save_message(disc): msg = EDiscussion().create_from_discussion(disc) print msg.__dict__ DDiscussion.save(msg)