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

Add new field to AK info block with exact duration in hours

parent 693fec82
No related branches found
No related tags found
1 merge request!6Rounding strategy for slot duration at JSON export
Pipeline #269132 failed
...@@ -952,6 +952,7 @@ class AKSlot(models.Model): ...@@ -952,6 +952,7 @@ class AKSlot(models.Model):
for owner in self.ak.owners.all()]), for owner in self.ak.owners.all()]),
"description": self.ak.description, "description": self.ak.description,
"reso": self.ak.reso, "reso": self.ak.reso,
"duration_in_hours": self.duration,
}, },
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment