def testview1(request):
    for i in xrange(0,1000):
        result = add.delay( i, 4,task_id = i)
        print result.task_id
        #i want to display here i value
    return HttpResponse("Done") 

@task()def add(task_id, x, y):
    print add.task_id
    print str(x+y)
    return x + y

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ce651f96-f440-4478-b961-480e4c0b9c9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to