Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Jul 25, 2023
1 parent b8afcc4 commit 4b79e51
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion api/task_processor/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@

@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:
Expand Down

0 comments on commit 4b79e51

Please sign in to comment.