Private
Public Access
1
0

removed Workout object

This commit is contained in:
Sander Roosendaal
2017-05-10 20:56:44 +02:00
parent e78b8ffc22
commit 5f948dadf9

View File

@@ -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