Created
April 19, 2022 15:26
-
-
Save kaustubhgupta/1e42c5692be0e67dbfa686a056b0573c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask, render_template | |
app = Flask(__name__) | |
app.jinja_env.add_extension('jinja2.ext.loopcontrols') | |
@app.route('/', methods=['GET', 'POST']) | |
def index(): | |
return render_template('new.html', | |
) | |
if __name__ == "__main__": | |
app.run(debug=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment