fix #626 one message
This commit is contained in:
@@ -1021,8 +1021,8 @@ def workout_stravaimport_view(request,message="",userid=0):
|
|||||||
csvfilename,
|
csvfilename,
|
||||||
rower.user.id
|
rower.user.id
|
||||||
)
|
)
|
||||||
messages.info(request,'Strava workout nr {stravaid} will be imported in the background. It may take a few minutes before it appears.'.format(stravaid=stravaid))
|
|
||||||
# done, redirect to workouts list
|
# done, redirect to workouts list
|
||||||
|
messages.info(request,'Your Strava workouts will be imported in the background. It may take a few minutes before it appears.'.format(stravaid=stravaid))
|
||||||
url = reverse('workouts_view')
|
url = reverse('workouts_view')
|
||||||
return HttpResponseRedirect(url)
|
return HttpResponseRedirect(url)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
|||||||
Reference in New Issue
Block a user