diff --git a/Large-app-how-to.md b/Large-app-how-to.md index 8a64adc..6e9b833 100644 --- a/Large-app-how-to.md +++ b/Large-app-how-to.md @@ -340,7 +340,7 @@ Now we won't have to redefine our html structure anymore, and any modification d {% block content %} {% from "forms/macros.html" import render_field %}
- {{ form.csrf }} + {{ form.csrf_token }} {{ render_field(form.name, class="input text") }} {{ render_field(form.email, class="input text") }} {{ render_field(form.password, class="input text") }} @@ -361,7 +361,7 @@ and here is the `/app/templates/users/login.html` template: {% block content %} {% from "forms/macros.html" import render_field %} - {{ form.csrf }} + {{ form.csrf_token }} {{ render_field(form.email, class="input text") }} {{ render_field(form.password, class="input text") }}