#169 Team delete-restore

* removes unused code snippets
This commit is contained in:
mpeltriaux 2022-05-31 09:47:32 +02:00
parent 7f8d900c10
commit f085caac5d
2 changed files with 0 additions and 2 deletions

View File

@ -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)

View File

@ -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,