diff --git a/rowers/tasks_standalone.py b/rowers/tasks_standalone.py index 5a7df1f8..dfab7c12 100644 --- a/rowers/tasks_standalone.py +++ b/rowers/tasks_standalone.py @@ -22,9 +22,9 @@ from django.contrib.auth.models import User def addcomment2(userid,id): print 'aap met standalone' time.sleep(5) - w = Workout.objects.get(id=id) - w.notes += '\n the task has run' - w.save() +# w = Workout.objects.get(id=id) +# w.notes += '\n the task has run' +# w.save() u = User.objects.get(id=userid) messages.info(u,' The task has run') return 1