added robotx.txt & improved comparison chart
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user