Skip to content

Glossary: Docker Basics

Decorator

Also written: @app.route, @app.get, @app.post

A line starting with `@` that adds behavior to the Python function below it. In Flask, `@app.route("/")` says which page runs `price_list`.

Where the book teaches it

Related terms

FlaskGET, POST