getting status of django celery task from redis server with jquery

getting status of django celery task from redis server with jquery

hello all,
since days I try to find a solution to the following scenario - unfortunately I am not successful so far:

I start a task with celery and I am able to receive the status with the following url:
http://localhost:8000/task/status/b9901301-9bdb-4420-a6a2-c4e6c0963258/

what i get back when sending this url via my browser is:
{"task": {"id": "b9901301-9bdb-4420-a6a2-c4e6c0963258", "status": "SUCCESS", "result": [[[0, 21.1], "OK"]}}

this is fine so far.
Now, I would like to check permanently the status (every 10 seconds) with a jquery to get the json back and to inform the user about the status. if not SUCCESS, then give a message to him that it will take a while to get a result.
I have tried some tutorials but I am not able to get back the status with a jquery call or jquery ajax check. Also, I do not find a good example of such a scenario or a similar scenario. do you have a link with a good example or can you post for me a little example?

best regards,
marina