Attach the following view to my app with the route of /teachers.
def teachers(): return 'We have lots of teachers!'
im stuck anyone?
Mel RumseyTreehouse Staff
Adding a route above a function requires a decorator of @app.route
then inside the parenthesis you need to specify what the route is in the parenthesis.
@app.route('/') def index(): return "This is my home page!"
I suggest reviewing this video :) First Steps