def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def forums():
    categories = Category.query.order_by(Category.position.asc()).all()
    return render_template("management/forums.html", categories=categories)