Private
Public Access
1
0

further testing job

This commit is contained in:
Sander Roosendaal
2017-05-10 13:02:13 +02:00
parent a173a4d601
commit dff5b2a975
2 changed files with 5 additions and 4 deletions

View File

@@ -45,10 +45,12 @@ from rowsandall_app.settings import (
tpapilocation = "https://api.trainingpeaks.com"
from celery import Celery,app
from django_rq import job
import time
from async_messages import message_user,messages
@app.task
@job
def addcomment(userid,id):
time.sleep(5)
w = Workout.objects.get(id=id)