cannot pickle list of teams ->
This commit is contained in:
@@ -2998,10 +2998,12 @@ def workout_flexchart3_view(request,*args,**kwargs):
|
||||
workouttype = 'ote'
|
||||
if row.workouttype == 'water':
|
||||
workouttype = 'otw'
|
||||
|
||||
|
||||
favorites = FavoriteChart.objects.filter(user=r,
|
||||
workouttype__in=[workouttype,'both']).order_by("id")
|
||||
|
||||
try:
|
||||
favorites = FavoriteChart.objects.filter(user=r,
|
||||
workouttype__in=[workouttype,'both']).order_by("id")
|
||||
maxfav = len(favorites)-1
|
||||
except:
|
||||
pass
|
||||
|
||||
# check if favoritenr is not out of range
|
||||
|
||||
Reference in New Issue
Block a user