route ( '/submit', methods = ) def submit (): form = classes. getAllTools () return render_template ( "tools.html", tools = result ). route ( '/tools' ) def tools (): f = Tool () result = f. route ( '/' ) def home (): return render_template ( "home.html" ). From flask import Flask, render_template, request, redirect, flash from classes.tool import Tool import classes.forms from config import Config config = Config () app = Flask ( _name_ ) app.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |