removed Workout object
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user