Python Flask Basics Character Builder Flash a Message

flash() a message in the fishy() view before the return. The message can have any content you want.

Bummer: Environment Builder has no object 'find'
from flask import Flask, redirect, url_for,flash

app = Flask(__name__)


def index():
    return render_template("index.html")

def fishy():
    return redirect(url_for('index'))

It looks like you removed one of the imports from flask that is needed for this bit of code. You're no longer importing render_template.