Quantcast
Channel: Django Celery results set task id to something human readable? - Stack Overflow
Viewing all articles
Browse latest Browse all 5

Django Celery results set task id to something human readable?

$
0
0

After many days I have a working celery and celery beat task list, and the results are stored using django_celery_results. However when I look at the table record, it hasn't got any useful information in there.

is it possible to set the task id to something human readable?

results

one example would be using the demo task, it returns the no, but an unreadable task id

tasks.py

@app.taskdef test(a,b):    return a + b

scheduler in app.settings

CELERYBEAT_SCHEDULE = {'test_task': {'task': 'home.tasks.test','schedule': crontab(minute='*/1'),    },

Viewing all articles
Browse latest Browse all 5

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>