From 4e8d82bf06971aaa5a0dc3b69b2c6077dbba19d6 Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Tue, 25 Jul 2023 10:39:28 +0100 Subject: [PATCH] Formatting --- api/task_processor/admin.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/api/task_processor/admin.py b/api/task_processor/admin.py index 92bd81238655..8cea083ad31f 100644 --- a/api/task_processor/admin.py +++ b/api/task_processor/admin.py @@ -1,16 +1,17 @@ from django.contrib import admin -from task_processor.models import ( - RecurringTask, - RecurringTaskRun, - Task, - TaskRun, -) +from task_processor.models import RecurringTask @admin.register(RecurringTask) class RecurringTaskAdmin(admin.ModelAdmin): - list_display = ("uuid", "task_identifier", "run_every", "last_run_status", "is_locked") + list_display = ( + "uuid", + "task_identifier", + "run_every", + "last_run_status", + "is_locked", + ) readonly_fields = ("args", "kwargs") def last_run_status(self, instance: RecurringTask) -> str: