parent
7f8d900c10
commit
f085caac5d
@ -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)
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user