further testing job
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user