zip processing for team
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user