From eb48a3b9a35f2b938a1c69e8151049b86cccad66 Mon Sep 17 00:00:00 2001 From: Nico Vermaas <vermaas@astron.nl> Date: Tue, 6 Apr 2021 13:55:25 +0200 Subject: [PATCH] presentation of job in admin --- atdb/taskdatabase/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atdb/taskdatabase/models.py b/atdb/taskdatabase/models.py index 328dddff..36c69dc5 100644 --- a/atdb/taskdatabase/models.py +++ b/atdb/taskdatabase/models.py @@ -105,4 +105,4 @@ class Job(models.Model): # the representation of the value in the REST API def __str__(self): - return str(self.id) \ No newline at end of file + return 'task_id:'+str(self.task_id)+', job_id:'+str(self.job_id) \ No newline at end of file -- GitLab