Private
Public Access
1
0

Merge branch 'release/v2.62'

This commit is contained in:
Sander Roosendaal
2017-05-10 20:58:49 +02:00

View File

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