Private
Public Access
1
0
This commit is contained in:
Sander Roosendaal
2021-03-26 02:24:02 +01:00
parent 9137b19914
commit 3bdcac6963
3 changed files with 4 additions and 5 deletions

View File

@@ -225,7 +225,7 @@ def purchase_checkouts_view(request):
p.rowers.add(r)
create_sessions_from_json(plansteps,[r],startdate,r.user)
create_sessions_from_json(plansteps,r,startdate,r.user)
url = reverse('plannedsessions_view')
timeperiod = startdate.strftime('%Y-%m-%d')+'/'+enddate.strftime('%Y-%m-%d')

View File

@@ -2566,7 +2566,7 @@ def rower_view_instantplan(request,id='',userid=0):
p.save()
p.rowers.add(r)
create_sessions_from_json(plansteps,athletes,startdate,r.user)
create_sessions_from_json(plansteps,r,startdate,r.user)
url = reverse('plannedsessions_view')
timeperiod = startdate.strftime('%Y-%m-%d')+'/'+enddate.strftime('%Y-%m-%d')