Skip to content

Commit 07d3a2a

Browse files
committed
[FIX] -- job status display in scheduler listing page template.
- Updated 'job.get_status' to 'job.get_status.value' in 'scheduler.html' to correctly display the job status. - This affects the scheduler view at '/django-rq/schedulers/<scheduler_id>/'.
1 parent b367e6c commit 07d3a2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_rq/templates/django_rq/scheduler.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
{{ job.ended_at|to_localtime|date:"Y-m-d, H:i:s" }}
9494
{% endif %}
9595
</td>
96-
<td>{{ job.get_status }}</td>
96+
<td>{{ job.get_status.value }}</td>
9797
<td>{{ job|show_func_name }}</td>
9898
</tr>
9999
{% endfor %}

0 commit comments

Comments
 (0)