master #172
@ -274,7 +274,6 @@ class BaseTestCase(TestCase):
|
|||||||
team = Team.objects.get_or_create(
|
team = Team.objects.get_or_create(
|
||||||
name="Testteam",
|
name="Testteam",
|
||||||
description="Testdescription",
|
description="Testdescription",
|
||||||
admins__in=[self.superuser],
|
|
||||||
)[0]
|
)[0]
|
||||||
team.users.add(self.superuser)
|
team.users.add(self.superuser)
|
||||||
|
|
||||||
|
@ -310,7 +310,6 @@ class EditTeamModalForm(NewTeamModalForm):
|
|||||||
self.cancel_redirect = reverse("user:team-index")
|
self.cancel_redirect = reverse("user:team-index")
|
||||||
|
|
||||||
members = self.instance.users.all()
|
members = self.instance.users.all()
|
||||||
#self.fields["admins"].queryset = members
|
|
||||||
|
|
||||||
form_data = {
|
form_data = {
|
||||||
"members": members,
|
"members": members,
|
||||||
|
Loading…
Reference in New Issue
Block a user