diff --git a/rowers/views.py b/rowers/views.py index 7a3d0992..9d8493a5 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -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"