Skip to content

Commit

Permalink
Use correct non_field_errors approach
Browse files Browse the repository at this point in the history
  • Loading branch information
rixx committed Oct 10, 2024
1 parent adf43be commit 2c034f4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<h2>{% trans "Set up upstream sync" %}</h2>
<form method="post">
{% csrf_token %}
{% include "common/forms/errors.html" with errors=form.non_field_errors %}
{{ form.non_field_errors }}
{{ form }}
{% if last_pulled %}<p>Last automatic sync: {{ last_pulled|date:"SHORT_DATETIME_FORMAT" }}</p>{% endif %}
<div class="submit-group panel">
Expand Down

0 comments on commit 2c034f4

Please sign in to comment.