From d5a0363af3183af236d5dc9a402d3f7e78a02d63 Mon Sep 17 00:00:00 2001 From: Tim O'Meara Date: Tue, 11 Aug 2020 10:48:46 -0500 Subject: [PATCH] add attempt_count to admin --- django_q/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_q/admin.py b/django_q/admin.py index a7484ce..f40118e 100644 --- a/django_q/admin.py +++ b/django_q/admin.py @@ -43,7 +43,7 @@ retry_failed.short_description = _("Resubmit selected tasks to queue") class FailAdmin(admin.ModelAdmin): """model admin for failed tasks.""" - list_display = ("name", "func", "started", "stopped", "short_result") + list_display = ("name", "func", "started", "stopped", "short_result", "attempt_count") def has_add_permission(self, request): """Don't allow adds."""