diff --git a/rowers/views.py b/rowers/views.py index 07e0d6c5..21edf7e7 100644 --- a/rowers/views.py +++ b/rowers/views.py @@ -9393,7 +9393,8 @@ def workout_upload_view(request, if f is not None: res = handle_uploaded_file(f) else: - messages.error("Something went wrong - no file attached") + messages.error(request, + "Something went wrong - no file attached") url = reverse(workout_upload_view) if is_ajax: return JSONResponse({'result':0,'url':0})