From b0f0b9ae7e7082c0c057e99d3fe2f2f4120b3a71 Mon Sep 17 00:00:00 2001
From: Felix Blanke <info@fblanke.de>
Date: Thu, 23 Jan 2025 16:55:26 +0100
Subject: [PATCH] Add django AK id to info dict of slot

---
 AKModel/models.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/AKModel/models.py b/AKModel/models.py
index 7cca95c1..1d12a76d 100644
--- a/AKModel/models.py
+++ b/AKModel/models.py
@@ -979,6 +979,7 @@ class AKSlot(models.Model):
                 "description": self.ak.description,
                 "reso": self.ak.reso,
                 "duration_in_hours": float(self.duration),
+                "django_ak_id": str(self.ak.pk),
                 },
             }
 
-- 
GitLab