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,