Private
Public Access
1
0

going through the tests

This commit is contained in:
2024-12-30 17:22:42 +01:00
parent 9c7f06684e
commit 2759fd56eb
39 changed files with 135 additions and 500 deletions

View File

@@ -240,16 +240,6 @@ def rower_teams_view(request): # pragma: no cover
user__in=invitedathletes).exclude(
user=request.user
).exclude(coachinggroups__in=[request.user.rower.mycoachgroup])
elif request.user.rower.rowerplan == 'freecoach': # pragma: no cover
potentialathletes = Rower.objects.filter(
team__in=myteams).exclude(
user__in=invitedathletes).exclude(
user=request.user
).exclude(
coachinggroups__in=[request.user.rower.mycoachgroup]
).exclude(
rowerplan__in=['basic', 'freecoach']
)
else:
potentialathletes = []