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

Add django AK id to info dict of slot

parent 417e8151
Branches
No related tags found
1 merge request!10AKs with multiple slots in JSON export
Pipeline #269335 passed
...@@ -979,6 +979,7 @@ class AKSlot(models.Model): ...@@ -979,6 +979,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