From 1058e6074f8c3c0c900b1d3fb219af382bf39e76 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Tue, 20 Aug 2024 11:33:34 +0200 Subject: [PATCH] chore: lint --- umap/templates/auth/group_form.html | 2 +- umap/templates/umap/user_groups.html | 2 +- umap/tests/test_group_views.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/umap/templates/auth/group_form.html b/umap/templates/auth/group_form.html index 6a6261c0..16ea81e6 100644 --- a/umap/templates/auth/group_form.html +++ b/umap/templates/auth/group_form.html @@ -18,7 +18,7 @@
{% csrf_token %} {{ form }} - +
{% if group.user_set.count == 1 %} {% trans "Delete this team" %} diff --git a/umap/templates/umap/user_groups.html b/umap/templates/umap/user_groups.html index 3e14ccb3..1273d9ec 100644 --- a/umap/templates/umap/user_groups.html +++ b/umap/templates/umap/user_groups.html @@ -16,4 +16,4 @@ {% trans "New team" %} -{% endblock %} +{% endblock maincontent %} diff --git a/umap/tests/test_group_views.py b/umap/tests/test_group_views.py index 0138e38a..d880f850 100644 --- a/umap/tests/test_group_views.py +++ b/umap/tests/test_group_views.py @@ -1,6 +1,6 @@ import pytest -from django.urls import reverse from django.contrib.auth.models import Group +from django.urls import reverse pytestmark = pytest.mark.django_db