Private
Public Access
1
0

zip processing for team

This commit is contained in:
Sander Roosendaal
2017-07-25 20:30:37 +02:00
parent 5036abc94e
commit 851c0043da

View File

@@ -7421,6 +7421,12 @@ def team_workout_upload_view(request,message="",
url = reverse(team_workout_upload_view)
response = HttpResponseRedirect(url)
return response
elif id == -1:
message = 'The zip archive will be processed in the background. The files in the archive will only be uploaded without the extra actions. You will receive email when the workouts are ready.'
messages.info(request,message)
url = reverse(team_workout_upload_view)
response = HttpResponseRedirect(url)
return response
else:
successmessage = "The workout was added to the user's account"