Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create a Flask/Jinja Application: Here is an example: In this task, you make a simple Flask/Jinja web application. It should use the following: render_template() Qapp.route

Create a Flask/Jinja Application:

image text in transcribed

Here is an example:

image text in transcribed

In this task, you make a simple Flask/Jinja web application. It should use the following: render_template() Qapp.route bootstrap All Jinja programming features including for, block, macro, and others. Also, 1. Name your Flask/Jinja app as Advanced.py, create a templates directory. 2. Screen capture your web browser that shows your Advanced application output. Name it Advanced.png or Advanced.jpg depending on your file format. 3. Copy your Advanced.py, templates directory, and screen capture in the Advanced directory. Don't include any unnecessary files. Include only your source files or a screen capture file. Bapp.py X from flask import Flask, render template, request from flask bootstrap import Bootstrap cm app = Flask (_name) bootstrap = Bootstrap (app) app.x = 10 9 @app.route('/', methods=['GET', 'POST']). def index(): name = 'John' return render template('index.html', name=name, p = {'a':1, 'b':2}, app = app) . 11 Eif : name == ' main app.run (debug=True) G In this task, you make a simple Flask/Jinja web application. It should use the following: render_template() Qapp.route bootstrap All Jinja programming features including for, block, macro, and others. Also, 1. Name your Flask/Jinja app as Advanced.py, create a templates directory. 2. Screen capture your web browser that shows your Advanced application output. Name it Advanced.png or Advanced.jpg depending on your file format. 3. Copy your Advanced.py, templates directory, and screen capture in the Advanced directory. Don't include any unnecessary files. Include only your source files or a screen capture file. Bapp.py X from flask import Flask, render template, request from flask bootstrap import Bootstrap cm app = Flask (_name) bootstrap = Bootstrap (app) app.x = 10 9 @app.route('/', methods=['GET', 'POST']). def index(): name = 'John' return render template('index.html', name=name, p = {'a':1, 'b':2}, app = app) . 11 Eif : name == ' main app.run (debug=True) G

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 23rd European Conference Adbis 2019 Bled Slovenia September 8 11 2019 Proceedings Lncs 11695

Authors: Tatjana Welzer ,Johann Eder ,Vili Podgorelec ,Aida Kamisalic Latific

1st Edition

3030287297, 978-3030287290

More Books

Students also viewed these Databases questions

Question

The Functions of Language Problems with Language

Answered: 1 week ago

Question

The Nature of Language

Answered: 1 week ago