starting rojabo v2
This commit is contained in:
@@ -1111,6 +1111,15 @@ def workout_rojaboimport_view(request, message="", userid=0):
|
||||
ps.rower.add(r)
|
||||
ps.tags.add('ROJABO')
|
||||
ps.save()
|
||||
# get steps if there are any
|
||||
steps = []
|
||||
if item['warm_up']:
|
||||
pass
|
||||
if item['primary']:
|
||||
pass
|
||||
if item['cool_down']:
|
||||
pass
|
||||
|
||||
messages.info(request,'Saved planned session {id}'.format(id=ps.id))
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user