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
Branches
No related tags found
6 merge requests!262[WIP] compatibility with koma solver import/export,!261[WIP] compatibility with koma solver import/export,!260[WIP] import/export merge,!259Add view to clear schedule,!237Draft: add tests on json export,!235Merge fork for interoperability of KoMa solver
...@@ -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.
Please register or to comment