def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def forums():
    categories = Category.query.order_by(Category.position.asc()).all()
    return render_template("management/forums.html", categories=categories)