jinja2 tag

2 questions


1 answers
133 views
0
Did I write the wrong HTML if statement?

<h1>{{session['sid']}}</h1> <!--'admin' is displayed--><ul>{% {% if session['sid'] != 'admin' %} <li> <a href=/sendmail>Post Mail</a> </li> <li> &...

2 years ago

1 answers
126 views
0
flask TemplateNotFound

I created a program that loads and shows templates with Python flasks.import flask;app = flask.Flask(__name__);@app.route('/')@app.route('/home')def hello(): return flask.render_template('test.html')a...

2 years ago

© 2024 OneMinuteCode. All rights reserved.