From f085caac5d683659553c71f4436d3cc7c96872b0 Mon Sep 17 00:00:00 2001 From: mpeltriaux Date: Tue, 31 May 2022 09:47:32 +0200 Subject: [PATCH] #169 Team delete-restore * removes unused code snippets --- konova/tests/test_views.py | 1 - user/forms.py | 1 - 2 files changed, 2 deletions(-) diff --git a/konova/tests/test_views.py b/konova/tests/test_views.py index 1ad90dd6..73029f96 100644 --- a/konova/tests/test_views.py +++ b/konova/tests/test_views.py @@ -274,7 +274,6 @@ class BaseTestCase(TestCase): team = Team.objects.get_or_create( name="Testteam", description="Testdescription", - admins__in=[self.superuser], )[0] team.users.add(self.superuser) diff --git a/user/forms.py b/user/forms.py index cfb6d723..a92c6b00 100644 --- a/user/forms.py +++ b/user/forms.py @@ -310,7 +310,6 @@ class EditTeamModalForm(NewTeamModalForm): self.cancel_redirect = reverse("user:team-index") members = self.instance.users.all() - #self.fields["admins"].queryset = members form_data = { "members": members,