chore: lint

This commit is contained in:
Yohan Boniface 2024-08-20 11:33:34 +02:00
parent a5a68cc922
commit 1058e6074f
3 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@
<form id="group_form" method="post"> <form id="group_form" method="post">
{% csrf_token %} {% csrf_token %}
{{ form }} {{ form }}
<input type="submit" value="{% trans 'Save' %}" /> <input type="submit" value="{% trans "Save" %}" />
</form> </form>
{% if group.user_set.count == 1 %} {% if group.user_set.count == 1 %}
<a href="{% url 'group_delete' group.pk %}">{% trans "Delete this team" %}</a> <a href="{% url 'group_delete' group.pk %}">{% trans "Delete this team" %}</a>

View file

@ -16,4 +16,4 @@
<a href="{% url 'group_new' %}">{% trans "New team" %}</a> <a href="{% url 'group_new' %}">{% trans "New team" %}</a>
</div> </div>
</div> </div>
{% endblock %} {% endblock maincontent %}

View file

@ -1,6 +1,6 @@
import pytest import pytest
from django.urls import reverse
from django.contrib.auth.models import Group from django.contrib.auth.models import Group
from django.urls import reverse
pytestmark = pytest.mark.django_db pytestmark = pytest.mark.django_db