Skip to content

Commit

Permalink
context processor are not called when there is an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
pyDez committed Jan 30, 2025
1 parent 8921af8 commit 74572bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion envergo/templates/amenagement/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
</div>
</div>
</section>
{% include 'amenagement/_newsletter_opt_in.html' %}
{% if newsletter_opt_in_form %}
{# If an exception is raised, the newsletter_opt_in_form is not populated into the context#}
{% include 'amenagement/_newsletter_opt_in.html' %}
{% endif %}
{% endblock %}

{% block footer %}
Expand Down

0 comments on commit 74572bf

Please sign in to comment.