When setting a task description like in the minimal example:
@task(context=True)
def foobar_task(task, list_to_process):
process_info = ProcessInfo(
task,
desc='A description of this Job',
total=len(list_to_process)
)
The taskname column in the admin panel no longer shows the task name. It displays the complete description.
A long description results in a very ugly admin view.
Here is an example of my functionclean_huey_db() with desc='Huey DB Cleanup',:
Maybe it would be usefull to seperate this:
Add sth. like an verbose_name. If it is set, the task_name is overwritten with the verbose one.
Description only used to describe what this task is doing to display it in the admin panel.
Hello, happy new year.
When setting a task description like in the minimal example:
The taskname column in the admin panel no longer shows the task name. It displays the complete description. A long description results in a very ugly admin view. Here is an example of my function![grafik](https://github.com/boxine/django-huey-monitor/assets/4634522/7b5afb1b-85c2-4507-a617-85e966ddda74)
clean_huey_db()
withdesc='Huey DB Cleanup',
:Maybe it would be usefull to seperate this:
verbose_name
. If it is set, the task_name is overwritten with the verbose one.Or am I wrong about the desc parameter?