Complete the code to create a Flask blueprint named 'auth'.
from flask import Blueprint auth = Blueprint('[1]', __name__)
The blueprint name should be 'auth' to match the variable name and purpose.
Complete the code to register the 'auth' blueprint with the Flask app.
from flask import Flask app = Flask(__name__) app.[1](auth, url_prefix='/auth')
Use register_blueprint to add a blueprint to the Flask app.
Fix the error in the blueprint route definition to return 'Hello Auth!'.
from flask import Blueprint auth = Blueprint('auth', __name__) @auth.route('/hello') def [1](): return 'Hello Auth!'
The function name should match the route handler, here 'hello' matches the route '/hello'.
Fill both blanks to create a blueprint with a URL prefix and import it in the app.
from flask import Flask from [1] import auth app = Flask(__name__) app.[2](auth, url_prefix='/auth')
Import the blueprint from the module named 'blueprints' and register it with register_blueprint.
Fill all three blanks to define a blueprint, add a route, and register it with the app.
from flask import Flask, Blueprint app = Flask(__name__) api = Blueprint('[1]', __name__) @api.route('/status') def [2](): return 'API is running' app.[3](api, url_prefix='/api')
The blueprint is named 'api', the route function is 'status', and the blueprint is registered with register_blueprint.