Private
Public Access
1
0

added robotx.txt & improved comparison chart

This commit is contained in:
Sander Roosendaal
2018-03-16 08:38:55 +01:00
parent 0ec64b5683
commit 7384c8c8ad
5 changed files with 38 additions and 16 deletions

View File

@@ -711,6 +711,8 @@ class BasePlannedSessionFormSet(BaseFormSet):
# Check if workout is owned by this user
def checkworkoutuser(user,workout):
if user.is_anonymous():
return False
try:
r = Rower.objects.get(user=user)
teams = workout.team.all()