def index(): return render_template('database/index.html', title="Database", users=User.all(User()), pages=Page.get_all_pages(Page()), comments=Comment.get_all_comments(Comment()), tags=Tag.get_all_tags(Tag()))
def index(): return render_template('tags/index.html', title="Tags", tags=Tag.get_all_tags(Tag()), form=Form(secret_key=app.config['SECRET_KEY']))