Skip to content
Snippets Groups Projects
Commit 8da2c87b authored by Felix Blanke's avatar Felix Blanke
Browse files

Add django AK id to info dict of slot

parent 9fd02c21
No related branches found
No related tags found
1 merge request!268Merge fork for interoperability of KoMa solver
...@@ -1036,6 +1036,7 @@ class AKSlot(models.Model): ...@@ -1036,6 +1036,7 @@ class AKSlot(models.Model):
"description": self.ak.description, "description": self.ak.description,
"reso": self.ak.reso, "reso": self.ak.reso,
"duration_in_hours": float(self.duration), "duration_in_hours": float(self.duration),
"django_ak_id": str(self.ak.pk),
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment