def top_users(): user_m = UserManager() post_m = PostManager() top_users = user_m.top_users() top_posts = post_m.top_posts() top_comments = User.top_comments() Category.posts_without_cat() return render_template('top_users.html', users=top_users)