diff --git a/Large-app-how-to.md b/Large-app-how-to.md index 1778049..7141712 100644 --- a/Large-app-how-to.md +++ b/Large-app-how-to.md @@ -70,7 +70,7 @@ We'll create 4 modules, an user module (manage user's registration, login, lost `/run.py` will be used to launch the web server. ```python - from tol import app + from app import app app.run(debug=True) ``` @@ -239,7 +239,7 @@ This decorator is checking that g.user has a value assigned to it, otherwise it from werkzeug import check_password_hash, generate_password_hash from app import db - from app.users.forms import RegisterForm + from app.users.forms import RegisterForm, LoginForm from app.users.models import User from app.users.decorators import requires_login